Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.6 KB

README.md

File metadata and controls

41 lines (26 loc) · 1.6 KB

Go Report Card stability-stable license release

dockerctl is a command line tool that wraps docker in order to extend it with extra features and commands.

Usage

$ 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.

Installation

Download the latest compiled binaries and put it anywhere in your executable path.

Aliasing

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)"

Shell tab-completion

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