Commit Graph

405 Commits

Author SHA1 Message Date
f0550de5d1 Improve bash completion for docker plugin enable|disable
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 221d15877d
Component: cli
2017-06-02 00:10:53 +00:00
2a1922b8e3 Add bash completion for docker ps --filter expose|publish
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: f1cef9c7ab
Component: cli
2017-06-02 00:10:53 +00:00
1284543723 Add bash completion for docker plugin ls --filter
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: f26c735282
Component: cli
2017-06-02 00:10:53 +00:00
35aa1f008a Add bash completion for {stack services,service ls} --format
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: f7e0aa39fa
Component: cli
2017-06-02 00:10:52 +00:00
8a781f7442 Add bash completion for dockerd --default-shm-size
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 1d032d8b1e
Component: cli
2017-06-02 00:10:52 +00:00
5a9900c580 Refactor use of shared completion functions
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 5288b7e7fd
Component: cli
2017-06-02 00:10:52 +00:00
3f713f4c69 Add bash completion for {dockerd,docker run} --log-opt max-buffer-size|mode
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: e49d13fc02
Component: cli
2017-06-02 00:10:52 +00:00
69fb91c724 Add bash completion for docker checkpoint
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: a4ce26ba47
Component: cli
2017-06-02 00:10:52 +00:00
daeec5c32c Allow adding rules to cgroup devices.allow on container create/run
This introduce a new `--device-cgroup-rule` flag that allow a user to
add one or more entry to the container cgroup device `devices.allow`

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
Upstream-commit: e9ad0f345f
Component: cli
2017-06-02 00:10:51 +00:00
207d59a349 Update bash and zsh completion for service create/update --read-only
This commit updates bash and zsh completion for flag `--read-only`
in `service create/update`.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: 2fade897b9
Component: cli
2017-06-02 00:10:51 +00:00
bc0808e976 Add bash completion for docker service logs
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: bdf88a6e67
Component: cli
2017-06-02 00:10:51 +00:00
f164989143 Update bash and zsh completion for aws-create-group
This commit updates bash and zsh completion for aws-create-group.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: a4acd7887f
Component: cli
2017-06-02 00:10:51 +00:00
cf17bf7d66 Use native call for listing plugins in bash completion
`docker plugin ls` now has `--format`, so there is no more need for
postprocessing raw `docker plugin ls` output with `awk` any more.
This will make generation of plugin lists robust against changes
in `docker plugin ls` output.

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: f38bb95619
Component: cli
2017-06-02 00:10:51 +00:00
7951ee4996 Rename helper function in bash completion for consistency
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: a88fb3678d
Component: cli
2017-06-02 00:10:50 +00:00
c3c790c8f5 Hide bash completion for docker run|create|build --isolation on non-windows
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 3494343b71
Component: cli
2017-06-02 00:10:50 +00:00
2368812ef3 Add windows specific bash completion for docker run|create
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: d9dbe8b6f6
Component: cli
2017-06-02 00:10:50 +00:00
6c66c6e604 Fix bash completion for completing nodes
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 5f791f6b6a
Component: cli
2017-06-02 00:10:50 +00:00
06c63bc763 Add bash completion for run|create --init-path
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 128549e354
Component: cli
2017-06-02 00:10:50 +00:00
cbeff7a5e3 Add bash completion for docker swarm unlock|unlock-key
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 24bf7b830a
Component: cli
2017-06-02 00:10:50 +00:00
531d371078 Add missing options to bash completion for docker swarm init|update
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: a91e0c5b33
Component: cli
2017-06-02 00:10:50 +00:00
602e1bb569 Fix bash completion for docker service update
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 1a5f49057c
Component: cli
2017-06-02 00:10:50 +00:00
c1334d9a27 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>
Upstream-commit: 75d90a8a18
Component: cli
2017-06-02 00:10:50 +00:00
94ff9946b0 Fix bash completion for docker plugin ls
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 4489f4ab10
Component: cli
2017-06-02 00:10:50 +00:00
56fed66072 Add bash completion for docker service ps --filter node
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 046aa9aa23
Component: cli
2017-06-02 00:10:50 +00:00
8569ad5ae6 Add bash completion for newly added options to "docker plugin ls"
Signed-off-by: Anusha Ragunathan <anusha.ragunathan@docker.com>
Upstream-commit: e41d3a22ce
Component: cli
2017-06-02 00:10:49 +00:00
c7b3f20a8e Add bash completion for dockerd --init and docker run|create --init
Fixes #30263

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 0e8ea8a2b6
Component: cli
2017-06-02 00:10:49 +00:00
e1562c94a9 Add bash completion for build --squash
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: f58ef83a2c
Component: cli
2017-06-02 00:10:49 +00:00
ac6e5621fd Add bash completion for container|image|network prune --filter until
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 347c066e0d
Component: cli
2017-06-02 00:10:49 +00:00
91d650a72a Fix treatment of DOCKER_HIDE_LEGACY_COMMANDS in bash completion
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: cce9425a74
Component: cli
2017-06-02 00:10:49 +00:00
b777b51905 Add bash completion for plugin install --disable-content-trust
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: ad4e1a9c61
Component: cli
2017-06-02 00:10:49 +00:00
10c83e10b1 Honour $DOCKER_HIDE_LEGACY_COMMANDS in bash completion
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: aa4b0f065b
Component: cli
2017-06-02 00:10:48 +00:00
c96feef15a Add bash completion for swarm join --availability
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 3b59097abd
Component: cli
2017-06-02 00:10:48 +00:00
0209697d2c Add bash completion for plugin names
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: fbfe077b1e
Component: cli
2017-06-02 00:10:48 +00:00
3bfda246fa Support multiple services on bash completion for docker service ps
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: ce569fd836
Component: cli
2017-06-02 00:10:47 +00:00
407d116751 Add bash completion for plugin disable --force
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 0e0cb6498c
Component: cli
2017-06-02 00:10:47 +00:00
f949dc0d1d 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>
Upstream-commit: 70d8efd001
Component: cli
2017-06-02 00:10:47 +00:00
7dc9264d52 Add bash completion for plugin install --alias
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: b78f47ca4a
Component: cli
2017-06-02 00:10:46 +00:00
f79865561d Cleanup bash completion for service create|update
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 73a5149c50
Component: cli
2017-06-02 00:10:46 +00:00
1e4ad9ea7d Improve bash completion for bundled plugins
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 388c8f8a30
Component: cli
2017-06-02 00:10:46 +00:00
097129d37e Remove bash completion for deprecated docker daemon
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 5997147397
Component: cli
2017-06-02 00:10:45 +00:00
defa099008 Remove bash completion for docker node ps --all|-a
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 8e57564708
Component: cli
2017-06-02 00:10:45 +00:00
dfec30521c Make bash completion for docker stack deploy --bundle-file experimental
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: ea5be8f75f
Component: cli
2017-06-02 00:10:44 +00:00
77de2eabdc 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>
Upstream-commit: b837f7456d
Component: cli
2017-06-02 00:10:44 +00:00
ecdd598b2a Add bash completion for docker inspect --type plugin
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 0c3697d499
Component: cli
2017-06-02 00:10:43 +00:00
f87af12250 Add bash completion for docker network create --attachable
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: d77a7ca0c1
Component: cli
2017-06-02 00:10:43 +00:00
23d5be4a21 Fix bash completion for `docker service create|update
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: b6365dc413
Component: cli
2017-06-02 00:10:43 +00:00
acf1bf74f9 Add bash completion for secret management
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 6afaa9c01f
Component: cli
2017-06-02 00:10:43 +00:00
a857a44bbf Add bash completion for docker version --format
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 45a292bc44
Component: cli
2017-06-02 00:10:43 +00:00
e316264926 Add bash completion for experimental docker deploy
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 5b7c564969
Component: cli
2017-06-02 00:10:43 +00:00
0cb48c811d Allow selective activation of experimental features in bash completion
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: e0659770b3
Component: cli
2017-06-02 00:10:43 +00:00