dockerctx
helps you switch between Docker contexts back and forth. Inspired by kubectx
.
Please download the dockerctx
binary in the latest release.
USAGE:
dockerctx : list the contexts
dockerctx <NAME> : switch to context <NAME>
dockerctx - : switch to previous context
dockerctx -c, --current : show the current context name
dockerctx -v, --version : show version information
dockerctx -h, --help : show this message