114d979f77
Remove duplicate publish option in docker service create/update completion
...
Signed-off-by: Jean-Pierre Huynh <jean-pierre.huynh@ounet.fr >
(cherry picked from commit 6c65ba6c08 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2017-07-25 02:54:40 +02:00
7ee46d779c
Update __docker_get_log_options completion
...
Signed-off-by: Jean-Pierre Huynh <jean-pierre.huynh@ounet.fr >
(cherry picked from commit d7ade64d29 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2017-07-25 02:52:54 +02:00
26ace597a5
Add zsh completion for system prune --volumes
...
Signed-off-by: Jean-Pierre Huynh <jean-pierre.huynh@ounet.fr >
(cherry picked from commit 6b256484ae )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2017-07-25 02:52:47 +02:00
7fd4d9d5aa
Improve bash completion for service create|update --detach
...
bash completion usually completes boolean options that default to `true`
with the `=false` suffix because that is the only syntax that really
changes behavior.
For this option, I implemented completion falsely.
Signed-off-by: Harald Albers <github@albersweb.de >
(cherry picked from commit fc0dafbbd1 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2017-07-25 02:52:40 +02:00
caf6943211
Refactor alias delegation in bash completion for secret rm|remove
...
The completion logic should be implemented in the documented subcommands
(ls, rm) and delegated to from the aliases (list, remove).
For the rm|remove pair, this was implemented vice versa.
Signed-off-by: Harald Albers <github@albersweb.de >
(cherry picked from commit d585e554d5 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2017-07-25 02:52:33 +02:00
02a80c5c3c
Add bash completion for secret inspect --pretty
...
Signed-off-by: Harald Albers <github@albersweb.de >
(cherry picked from commit 211bd55ae7 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2017-07-25 02:52:27 +02:00
1c82e267a7
Add bash completion for docker config command family
...
This adds bash completion for
- https://github.com/docker/cli/pull/45
- https://github.com/moby/moby/pull/32336
Signed-off-by: Harald Albers <github@albersweb.de >
(cherry picked from commit c40952b305 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2017-07-25 02:52:19 +02:00
1828a8bff1
Add metric plugins to bash completion for plugin ls --filter capability
...
This adds bash completion for https://github.com/moby/moby/pull/32874 .
Signed-off-by: Harald Albers <github@albersweb.de >
(cherry picked from commit 2caf425f02 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2017-07-25 02:52:12 +02:00
b7693dda2d
Add bash completion for awslogs multiline log driver options
...
This adds bash completion for https://github.com/moby/moby/pull/30891 .
Signed-off-by: Harald Albers <github@albersweb.de >
(cherry picked from commit 1d21a3dd7c )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2017-07-25 02:52:05 +02:00
15acd33ef6
Add bash completion for build --iidfile
...
This adds bash completion for https://github.com/moby/moby/pull/32406 .
Signed-off-by: Harald Albers <github@albersweb.de >
(cherry picked from commit 1f8720717d )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2017-07-25 02:51:56 +02:00
f2332481a7
Add bash completion for system prune --volumes
...
Signed-off-by: Harald Albers <github@albersweb.de >
(cherry picked from commit 36b572dfdf )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2017-07-25 02:51:48 +02:00
8cf887b304
Remove bash completion for service update --network
...
The `--network` option is only available for `docker service create`.
Signed-off-by: Harald Albers <github@albersweb.de >
(cherry picked from commit e7e77b5e65 )
Signed-off-by: Andrew Hsu <andrewhsu@docker.com >
2017-07-12 00:48:22 +00:00
5b4a4cc549
Fix bash completion for swarm init|join --data-path-addr
...
Signed-off-by: Harald Albers <github@albersweb.de >
(cherry picked from commit fa4dc8820a )
Signed-off-by: Andrew Hsu <andrewhsu@docker.com >
2017-07-12 00:47:36 +00:00
8e17167c78
Add bash completion for swarm ca
...
Signed-off-by: Harald Albers <github@albersweb.de >
(cherry picked from commit 5bd00a563e )
Signed-off-by: Andrew Hsu <andrewhsu@docker.com >
2017-07-12 00:47:36 +00:00
fd95ab90ad
Add bash completion for service create|update --network-(add|rm)
...
Signed-off-by: Harald Albers <github@albersweb.de >
(cherry picked from commit fa0f470a5f )
Signed-off-by: Andrew Hsu <andrewhsu@docker.com >
2017-07-12 00:47:36 +00:00
8498135904
Add bash completion for service create|update (update|rollback)-order
...
Signed-off-by: Harald Albers <github@albersweb.de >
(cherry picked from commit 71dd0e0b66 )
Signed-off-by: Andrew Hsu <andrewhsu@docker.com >
2017-07-12 00:47:36 +00:00
15c737a076
Add bash completion for plugin events
...
Signed-off-by: Harald Albers <github@albersweb.de >
(cherry picked from commit f0f7150537 )
Signed-off-by: Andrew Hsu <andrewhsu@docker.com >
2017-07-12 00:47:36 +00:00
c1383568b1
Add bash completion for service create --detach
...
Signed-off-by: Harald Albers <github@albersweb.de >
(cherry picked from commit 8baef1098e )
Signed-off-by: Andrew Hsu <andrewhsu@docker.com >
2017-07-12 00:47:36 +00:00
3d418e35c9
Fix bash completion for network create --internal
...
`--internal` is a boolean option. It was falsely treated as non-boolean.
Signed-off-by: Harald Albers <github@albersweb.de >
(cherry picked from commit 12dc9eb11f )
Signed-off-by: Andrew Hsu <andrewhsu@docker.com >
2017-07-12 00:47:36 +00:00
1c96c7a5ec
Add bash completion for network create --scope|--config-only|config-from
...
Signed-off-by: Harald Albers <github@albersweb.de >
(cherry picked from commit 22579ba56c )
Signed-off-by: Andrew Hsu <andrewhsu@docker.com >
2017-07-12 00:47:36 +00:00
224f23149e
Add bash completion for service create|update --entrypoint
...
Also fixes a wrong option: `--arg` should be `--args`.
Signed-off-by: Harald Albers <github@albersweb.de >
(cherry picked from commit e0462e8472 )
Signed-off-by: Andrew Hsu <andrewhsu@docker.com >
2017-07-12 00:47:36 +00:00
8f5b746fdd
Add bash completion for label filter of prune commands
...
Signed-off-by: Harald Albers <github@albersweb.de >
(cherry picked from commit 8b99b65ca8 )
Signed-off-by: Andrew Hsu <andrewhsu@docker.com >
2017-07-12 00:47:36 +00:00
9f5039a8d0
Add bash completion for network create --ingress
...
Signed-off-by: Harald Albers <github@albersweb.de >
(cherry picked from commit e4f9ad77c8 )
Signed-off-by: Andrew Hsu <andrewhsu@docker.com >
2017-07-12 00:47:36 +00:00
9f64b19d32
Update docs, completion scripts for disable-legacy-registry
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit 2b8f0eef7338f37104464154ba65aef7db3b9703)
Signed-off-by: Tibor Vass <tibor@docker.com >
(cherry picked from commit ee1bbab620 )
Signed-off-by: Andrew Hsu <andrewhsu@docker.com >
2017-07-04 06:06:15 +00:00
8fabd69470
Add daemon option to push foreign layers
...
The --allow-nondistributable-artifacts daemon option specifies
registries to which foreign layers should be pushed. (By default,
foreign layers are not pushed to registries.)
Additionally, to make this option effective, foreign layers are now
pulled from the registry if possible, falling back to the URLs in the
image manifest otherwise.
This option is useful when pushing images containing foreign layers to a
registry on an air-gapped network so hosts on that network can pull the
images without connecting to another server.
Signed-off-by: Noah Treuhaft <noah.treuhaft@docker.com >
Upstream-commit: 9810554494
Component: cli
2017-06-02 00:11:05 +00:00
b435b27639
Update bash completion for log driver options
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 4c0d6698d1
Component: cli
2017-06-02 00:11:05 +00:00
fd113bff72
Add bash completion for new devicemapper storage options
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: d8dfa04cae
Component: cli
2017-06-02 00:11:05 +00:00
dcbb8fea1b
Add bash completion for --health-start-period
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 95fcee5fc6
Component: cli
2017-06-02 00:11:05 +00:00
a9810fc663
bash completion for stack deploy --prune
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 62d0309d24
Component: cli
2017-06-02 00:11:05 +00:00
c2585247a2
Add bash completion for stack ls --format
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 513ea82edd
Component: cli
2017-06-02 00:11:04 +00:00
aa463e4b97
Add bash completion for system df --format
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 3e646fed80
Component: cli
2017-06-02 00:11:04 +00:00
06257c0fd3
Add missing bash completion for docker attach
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 509b7f82b6
Component: cli
2017-06-02 00:11:04 +00:00
e5350e21b4
Remove bash completion for run|create --init-path
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 40d3bb4985
Component: cli
2017-06-02 00:11:04 +00:00
2af47ea3bf
Add bash completion for history --format
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 38dcfad556
Component: cli
2017-06-02 00:11:04 +00:00
81790c00c8
Inroduce SWARM --data-path-addr flag
...
This new flag will allow the configuration of an interface that
can be used for data path traffic to be isolated from control
plane traffic. This flag is simply percolated down to libnetwork
and will be used by all the global scope drivers (today overlay)
Negative test added for invalid flag arguments
Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com >
Upstream-commit: 137a190a79
Component: cli
2017-06-02 00:11:04 +00:00
4e3663be74
Remove bogus statement from bash completion
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 8ea7724f64
Component: cli
2017-06-02 00:11:03 +00:00
cc04f0bef8
Bash completion treats service logs as stable
...
Implements the following new CLI features:
- service logs is no longer experimental
- service logs also accepts task IDs
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 24d7795c2c
Component: cli
2017-06-02 00:11:03 +00:00
6674e3a1f5
Fix bash-completion script.
...
bash-completion script for 'docker build --network' calls
__docker_plugins, the correct name for this function is
__docker_plugins_bundled.
Closes #32588
Signed-off-by: Corey Farrell <git@cfware.com >
Upstream-commit: 0e75012be1
Component: cli
2017-06-02 00:11:03 +00:00
797a7f455c
Fix inconsisticy for service logs
...
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn >
Upstream-commit: fcdc75de3e
Component: cli
2017-06-02 00:11:03 +00:00
193605c9b2
Bash completion supports multiple stacks in stack rm
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 50ea10e293
Component: cli
2017-06-02 00:11:03 +00:00
222458ca3f
Add bash completion for node ls --format
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: e3cab9a751
Component: cli
2017-06-02 00:11:02 +00:00
1162d737fe
Add bash completion for update --cpus
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 0d4b2350fb
Component: cli
2017-06-02 00:11:02 +00:00
150b832bdf
cli: add --mount to docker run
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp >
Upstream-commit: 6103806802
Component: cli
2017-06-02 00:11:02 +00:00
3fd631d927
Improve bash completion for --log-opt awslogs-create-group
...
Add completion for the possible values `true`|`false`, correct sort order.
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 1a9663696d
Component: cli
2017-06-02 00:11:01 +00:00
f09c3fdc31
Add bash completion for secret ls --format
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 10638a7a3e
Component: cli
2017-06-02 00:11:01 +00:00
4cb2ae0424
Add zsh completion for 'docker {node,service,stack} ps --format'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 5ef17bfc68
Component: cli
2017-06-02 00:11:01 +00:00
c7388169b9
Deprecate --graph flag; Replace with --data-root
...
Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com > (github: jlhawn)
Upstream-commit: 804858fc6f
Component: cli
2017-06-02 00:11:01 +00:00
9fe583a7b5
Add support for --type=secret in docker inspect
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
Upstream-commit: 578a431fb3
Component: cli
2017-06-02 00:11:01 +00:00
02fcc93a88
Add bash completion for secret ls --format
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: c6875037bb
Component: cli
2017-06-02 00:11:01 +00:00
9f1816c866
Add zsh completion for 'docker network ls --filter scope'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 91d886adc4
Component: cli
2017-06-02 00:11:00 +00:00