This is a command line tool for Kontena.
Prerequisities: Ruby version 2.2.0 or greater.
Install it yourself as:
$ gem install kontena-cli
To enable tab-completion for bash, add this to your
.bashrc scripts (or
.zshrc for zsh):
which kontena > /dev/null && . "$( kontena whoami --bash-completion-path )"
First you need to register as a user:
$ kontena register
Then you can login to master server:
$ kontena login https://<master>:8080
To get list of all commands:
$ kontena help
- Fork it ( https://github.com/kontena/kontena-cli/fork )
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create a new Pull Request
Kontena is licensed under the Apache License, Version 2.0. See LICENSE for full license text.