Commit Graph

614 Commits

Author SHA1 Message Date
Harald Albers ad4e1a9c61 Add bash completion for `plugin install --disable-content-trust`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:49 +00:00
Harald Albers aa4b0f065b Honour $DOCKER_HIDE_LEGACY_COMMANDS in bash completion
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:48 +00:00
Harald Albers 3b59097abd Add bash completion for `swarm join --availability`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:48 +00:00
yuexiao-wang 6337d3724e keep network option consistent between network connect and run
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2017-06-02 00:10:48 +00:00
Harald Albers fbfe077b1e Add bash completion for plugin names
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:48 +00:00
Yunxiang Huang bd5bced8d1 Fix "zsh/_docker"
Signed-off-by: Yunxiang Huang <hyxqshk@vip.qq.com>
2017-06-02 00:10:48 +00:00
Harald Albers ce569fd836 Support multiple services on bash completion for `docker service ps`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:47 +00:00
Harald Albers 0e0cb6498c Add bash completion for `plugin disable --force`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:47 +00:00
Harald Albers 70d8efd001 Fix bash completion for `plugin enable|disable`
`docker plugin enable` and `docker plugin disable` only
accept one plugin.

Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:47 +00:00
Harald Albers b78f47ca4a Add bash completion for `plugin install --alias`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:46 +00:00
Harald Albers 73a5149c50 Cleanup bash completion for `service create|update`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:46 +00:00
Harald Albers 388c8f8a30 Improve bash completion for bundled plugins
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:46 +00:00
Harald Albers 5997147397 Remove bash completion for deprecated `docker daemon`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:45 +00:00
Harald Albers 8e57564708 Remove bash completion for `docker node ps --all|-a`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:45 +00:00
Harald Albers ea5be8f75f Make bash completion for `docker stack deploy --bundle-file` experimental
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:44 +00:00
Vincent Demeester b837f7456d Remove --port and update --publish for services to support syntaxes
Add support for simple and complex syntax to `--publish` through the
use of `PortOpt`.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2017-06-02 00:10:44 +00:00
Harald Albers 0c3697d499 Add bash completion for `docker inspect --type plugin`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:43 +00:00
Steve Durrheimer f25ad6e8b7 Add zsh completion for 'docker inspect --type=plugin' and other missing ones
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-06-02 00:10:43 +00:00
Steve Durrheimer b94c1ab634 Add zsh completion for 'docker network create --attachable'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-06-02 00:10:43 +00:00
Harald Albers d77a7ca0c1 Add bash completion for `docker network create --attachable`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:43 +00:00
Harald Albers b6365dc413 Fix bash completion for `docker service create|update
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:43 +00:00
Harald Albers 6afaa9c01f Add bash completion for secret management
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:43 +00:00
Harald Albers 45a292bc44 Add bash completion for `docker version --format`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:43 +00:00
Harald Albers 5b7c564969 Add bash completion for experimental `docker deploy`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:43 +00:00
Harald Albers e0659770b3 Allow selective activation of experimental features in bash completion
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:43 +00:00
Harald Albers c310a10969 Add more types to bash completion of `docker inspect`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:42 +00:00
Vincent Demeester c7fe3a1685 Revert "Add bash completion for `docker service ps --all`"
This reverts commit 188d2fac57d63888f08531adc46aa3349e3b4f3a.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2017-06-02 00:10:42 +00:00
Akihiro Suda a5053dce24 cli: remove `--mount` from `docker run`
This commit reverts 273eeb813c1db0f42c2ad5e053972eeb00907568 (#26825).
For the discussion so far, please refer to #28527.

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-06-02 00:10:42 +00:00
Steve Durrheimer 0bdfdf3779 Add zsh completion for 'docker stack' subcommand
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-06-02 00:10:42 +00:00
Harald Albers bc1a16b866 Add bash completion for `docker stack`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:42 +00:00
Harald Albers 174194cbe3 Add bash completion for plugin API
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:42 +00:00
Harald Albers 78bada43a2 Add bash completion for `docker service {create,update}` host options
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:41 +00:00
Steve Durrheimer 2d48b3f9ac Add zsh completion for 'docker service update --hostname'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-06-02 00:10:41 +00:00
Harald Albers 12858eb8d4 Add bash completion for `docker service update --hostname`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:41 +00:00
Ben Firshman 2cfcc8a8fa Rename Remote API to Engine API
Implementation of https://github.com/docker/docker/issues/28319

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
2017-06-02 00:10:40 +00:00
Steve Durrheimer f3c9cdadd3 Add zsh completion for 'docker image ls --filter reference'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-06-02 00:10:40 +00:00
Steve Durrheimer b47e3d3adf Add zsh completion for 'dockerd --userland-proxy-path'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-06-02 00:10:40 +00:00
Harald Albers 5b6fdb11a8 Add bash completion for `docker build --network`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:40 +00:00
Harald Albers cb0862f411 Add bash completion for `docker images --filter reference`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:40 +00:00
Harald Albers d1071533a6 Add bash completion for `dockerd --userland-proxy-path`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:39 +00:00
Steve Durrheimer b1948be830 Add zsh completion for 'docker system df'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-06-02 00:10:39 +00:00
Steve Durrheimer 4225bbc8b1 Add zsh completion for 'docker image build --network'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-06-02 00:10:38 +00:00
Steve Durrheimer 937c0e3fb6 Add zsh completion for 'docker service' DNS settings
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-06-02 00:10:38 +00:00
Steve Durrheimer d9de308caa Add zsh completion for 'docker service {create,update} --secret'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-06-02 00:10:38 +00:00
Harald Albers c9afee3afa Add bash completion for managing ports in services
Bash completion for

- `docker service create --port`
- `docker service update --port-{add,rm}`

Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:38 +00:00
Steve Durrheimer 0f6fa225d1 Add zsh completion for the new 'docker secret' command
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-06-02 00:10:38 +00:00
Yong Tang 653c6d8467 Update bash completion `dns-options-add/rm` -> `dns-option-add/rm`
In 28186, `dns-options-add/rm` has been changed to `dns-option-add/rm`
in `docker service create/update`, for the purpose of consistency.

This fix updates bash completion to remove extra `s`.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-06-02 00:10:38 +00:00
Harald Albers 5e47e48ff8 Add bash completion for DNS settings in services
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:38 +00:00
Harald Albers fc7c7b1358 Add bash completion for `docker service ps --all`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:38 +00:00
Steve Durrheimer 4b3dd70b54 Add zsh completion for 'docker service {create --port, update --port-{add,rm}}'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-06-02 00:10:38 +00:00