Harald Albers
17c6fa06f6
Improve POSIX compatibility of bash completion
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 76f4681b56
)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2017-03-13 21:21:19 -07:00
Harald Albers
a3fa6aa153
Improve bash completion for docker run --cap-{add,drop}
...
Docker has several capabilities enabled by default and some not.
It seems natural to follow this distinction in --cap-add and
--cap-drop.
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 36d8b66cb9
)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2017-03-13 21:21:19 -07:00
Brian Goff
05516452d6
Merge pull request #30945 from sdurrheimer/zsh-completion-plugin
...
Add zsh completion for missing 'docker plugin' commands and options
(cherry picked from commit da9a162301
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-02-18 00:14:30 -08:00
Brian Goff
b53cef8425
Merge pull request #30944 from sdurrheimer/zsh-completion-build-squash
...
Add zsh completion for 'docker build --squash'
(cherry picked from commit 0d9bb4ee12
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-02-18 00:14:22 -08:00
Brian Goff
b975e02386
Merge pull request #30943 from sdurrheimer/zsh-completion-checkpoint
...
Add zsh completion for 'docker checkpoint' commands
(cherry picked from commit 4f6e4bfd02
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-02-18 00:14:15 -08:00
Brian Goff
aaff3d513e
Merge pull request #30941 from sdurrheimer/zsh-completion-service-logs
...
Add zsh completion for 'docker service logs' command
(cherry picked from commit 03db46362e
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-02-18 00:14:06 -08:00
Sebastiaan van Stijn
d4897c746f
Merge pull request #30940 from sdurrheimer/zsh-completion-swarm-unlock-cmds
...
Add zsh completion for 'docker swarm unlock|unlock-key' commands
(cherry picked from commit 27ab008626
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-02-18 00:13:59 -08:00
Vincent Demeester
9287b8f99e
Merge pull request #30939 from sdurrheimer/zsh-completion-swarm-init-update
...
Add zsh completion for missing 'docker swarm init|update' options
(cherry picked from commit 5d47cb901b
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-02-18 00:13:50 -08:00
Kenfe-Mickaël Laventure
7a02f05068
Merge pull request #30823 from albers/completion-plugin-upgrade
...
Add bash completion for `docker plugin upgrade`
(cherry picked from commit c9fa3eed1b
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-02-18 00:13:31 -08:00
Harald Albers
018981111c
Fix bash completion for docker service
...
Signed-off-by: Harald Albers <github@albersweb.de>
2017-02-09 15:35:46 +01:00
Harald Albers
ec0e3fe4e2
Add bash completion for docker checkpoint
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 926fa56c0d
)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2017-02-01 12:35:00 -08:00
Harald Albers
73b9bdc6cb
Add bash completion for docker service logs
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 105231556a
)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2017-01-31 12:54:57 -08:00
Victor Vieux
328775ea4f
removing trailing backslash in zsh completion
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2017-01-25 20:35:42 -08:00
Harald Albers
06dae4eae5
Fix bash completion for completing nodes
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 550947e437
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2017-01-25 13:04:05 -08:00
Harald Albers
880c12df7d
Add bash completion for run|create --init-path
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 182048f185
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2017-01-24 15:41:44 -08:00
Steve Durrheimer
0c16980468
Add zsh completion for 'dockerd --init' and 'docker {create,run} --init'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
(cherry picked from commit cdf57782fd
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2017-01-24 13:52:09 -08:00
Harald Albers
1ec7869443
Add bash completion for plugin install --disable-content-trust
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 725a864a04
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2017-01-24 13:49:24 -08:00
Steve Durrheimer
0fa35e2073
Add zsh completion for 'docker plugin install --alias'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
(cherry picked from commit 455b7bcbab
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2017-01-24 13:48:58 -08:00
Harald Albers
0be8ebd2a1
Fix bash completion for docker service update
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 01ac33ce16
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2017-01-24 13:48:18 -08:00
Harald Albers
b4fd48ce32
Add bash completion for docker service ps --filter node
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit a39a2bb6c2
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2017-01-24 13:47:54 -08:00
Harald Albers
9da299954f
Add missing options to bash completion for docker swarm init|update
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit f93da79dc1
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2017-01-24 13:47:28 -08:00
Harald Albers
d4e6422212
Add bash completion for docker swarm unlock|unlock-key
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 07bd5152b3
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2017-01-24 13:47:03 -08:00
Harald Albers
23e9d30cea
Fix treatment of DOCKER_HIDE_LEGACY_COMMANDS in bash completion
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 12952f537c
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2017-01-20 14:07:19 -08:00
Harald Albers
7bb3740386
Honour $DOCKER_HIDE_LEGACY_COMMANDS in bash completion
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit aa006f1280
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2017-01-20 14:06:58 -08:00
Harald Albers
ba79dde9d2
Add bash completion for build --squash
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit e91dbba7ff
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2017-01-20 14:06:01 -08:00
Harald Albers
d621d74f64
Add bash completion for dockerd --init
and docker run|create --init
...
Fixes #30263
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 2076261757
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2017-01-20 14:05:33 -08:00
Steve Durrheimer
78e4fa2caa
Add zsh completion for 'docker swarm --availability'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
(cherry picked from commit ee2ce82c61
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2017-01-20 14:05:10 -08:00
Steve Durrheimer
f6d70d08a8
Add zsh completion for 'docker {container,image,network,system} prune --filter'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
(cherry picked from commit 784ebccffa
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2017-01-20 14:03:45 -08:00
Harald Albers
b2e12626c7
Add bash completion for plugin names
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit e7243a303a
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2017-01-09 06:37:40 -08:00
Yunxiang Huang
57a63f1ed2
Fix "zsh/_docker"
...
Signed-off-by: Yunxiang Huang <hyxqshk@vip.qq.com>
(cherry picked from commit c6544394b8
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2017-01-09 06:37:40 -08:00
Harald Albers
ea00b14170
Add bash completion for plugin disable --force
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit e1403453f0
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2017-01-04 12:42:42 +01:00
Harald Albers
5903ead08e
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>
(cherry picked from commit 390effdd11
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2017-01-04 12:42:42 +01:00
Harald Albers
c809c40647
Add bash completion for plugin install --alias
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 83158f8aff
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2017-01-04 12:42:41 +01:00
Harald Albers
39b3e39c40
Remove bash completion for deprecated docker daemon
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 536a9ec698
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2017-01-04 12:42:41 +01:00
Harald Albers
c25a4762ef
Remove bash completion for docker node ps --all|-a
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit a54cc4f88d
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2017-01-04 12:42:41 +01:00
Harald Albers
dc05dfd30e
Make bash completion for docker stack deploy --bundle-file
experimental
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit a53bdfa3be
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-12-15 21:06:23 -08:00
Vincent Demeester
37ea8104b0
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>
2016-12-15 07:24:26 +01:00
Harald Albers
85ae13f6d0
Add bash completion for docker inspect --type plugin
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 81b4b2b5fa
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-12-12 13:24:42 -08:00
Steve Durrheimer
508d06752d
Add zsh completion for 'docker inspect --type=plugin' and other missing ones
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
(cherry picked from commit 2bdffc1fb5
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-12-12 13:22:44 -08:00
Steve Durrheimer
78f2dc90bf
Add zsh completion for 'docker network create --attachable'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
(cherry picked from commit bce11a29f8
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-12-07 16:17:33 -08:00
Harald Albers
0383913b65
Add bash completion for docker network create --attachable
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 8d2e789bbc
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-12-07 16:16:09 -08:00
Harald Albers
6ce7fb23f5
Add bash completion for docker version --format
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 3d43c48c1b
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-12-07 16:13:12 -08:00
Harald Albers
fd7aee8fe0
Fix bash completion for `docker service create|update
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit be5685e4bf
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-12-07 16:12:50 -08:00
Harald Albers
e0d8cfaa7d
Add bash completion for secret management
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 324dd3cfec
)
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-12-07 16:12:29 -08:00
Harald Albers
f1ea64fa07
Add bash completion for experimental docker deploy
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 10f567ec6a
)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2016-12-02 13:41:43 -08:00
Harald Albers
64b41aa52a
Allow selective activation of experimental features in bash completion
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit af84b7e441
)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2016-12-02 13:41:36 -08:00
Akihiro Suda
783e1a94b5
cli: remove --mount
from docker run
...
This commit reverts 273eeb813c
(#26825 ).
For the discussion so far, please refer to #28527 .
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
(cherry picked from commit e6d9b7de64
)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2016-11-30 14:22:43 -08:00
Harald Albers
7c081219ac
Add more types to bash completion of docker inspect
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 1076f0882b
)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2016-11-30 14:13:51 -08:00
Vincent Demeester
50bcdc9de2
Revert "Add bash completion for docker service ps --all
"
...
This reverts commit 188d2fac57
.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
(cherry picked from commit cee0fff9fe
)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2016-11-30 14:11:08 -08:00
Steve Durrheimer
5764fbb878
Add zsh completion for 'docker stack' subcommand
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
(cherry picked from commit 1e0c612f84
)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2016-11-30 14:10:02 -08:00