dockerctl is a command line tool that wraps docker
in order to extend it with extra features and commands.
$ dockerctl --help
dockerctl can be safely aliased as docker
so you can type $ docker COMMAND
in the shell and get all the usual dockerctl
features.
See Usage documentation for the list of all commands and their arguments.
Download the latest compiled binaries and put it anywhere in your executable path.
Some dockerctl features feel best when it's aliased as docker
. This is not dangerous; your normal docker commands will all work. dockerctl merely adds some sugar.
dockerctl alias
displays instructions for the current shell.
You should place this command in your .bash_profile
or other startup script:
eval "$(dockerctl alias)"
Place this command in your .bash_profile
or other startup script, e.g.
echo "source <(dockerctl completion bash)" >> ~/.bashrc # for bash users
echo "source <(dockerctl completion zsh)" >> ~/.zshrc # for zsh users