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
fdceadb4d7
Add missing zsh completion for 'docker plugin ls'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 51a4fbbf1f
Component: cli
2017-06-02 00:11:00 +00:00
4cadaa01c4
Windows: Remove --credentialspec flag
...
Signed-off-by: John Howard (VM) <jhoward@ntdev.microsoft.com >
Upstream-commit: a10f63f0ce
Component: cli
2017-06-02 00:11:00 +00:00
3823a21d86
Add bash completion for network ls --filter scope
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: d9a648caed
Component: cli
2017-06-02 00:10:59 +00:00
e95348fabd
Add zsh completion for 'docker service ls --filter mode'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 9be3a2cec8
Component: cli
2017-06-02 00:10:59 +00:00
c2401dd7de
Add zsh completion for 'docker secret ls --format'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 396925bab0
Component: cli
2017-06-02 00:10:59 +00:00
1629ef044b
Add zsh completion for 'docker service {create,update} --rollback-*'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 4cb6ab4eb5
Component: cli
2017-06-02 00:10:59 +00:00
bb72ecdf9a
Add zsh completion for 'docker logs --no-task-ids --no-trunc'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: a7af767c0d
Component: cli
2017-06-02 00:10:59 +00:00
1116d4a8b0
Add zsh completion for 'docker service {create,update} --stop-signal'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 7931960ded
Component: cli
2017-06-02 00:10:59 +00:00
26034416e6
Add zsh completion for 'docker network inspect --verbose'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 80482d7f96
Component: cli
2017-06-02 00:10:59 +00:00
759c5407ed
Add zsh completion for 'docker build --add-host'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 9a46875a95
Component: cli
2017-06-02 00:10:59 +00:00
37fbe0e3bd
Add zsh completion for 'docker service {create,update} --placement-pref'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 0e6eb9976b
Component: cli
2017-06-02 00:10:59 +00:00
f9360e39d0
Bash completion for docker node update completes only one node
...
`docker node update` accepts only one node.
Before this change, bash completion would complete additional nodes.
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: bd1c58ccaf
Component: cli
2017-06-02 00:10:58 +00:00
cb9f0f940b
Fix zsh-completion for containers in status 'created'
...
This patch makes sure that containers in the created-stated are
counted as stopped containers. Otherwise if you create a container,
don't run it and type: "docker rm ", followed by pressing tab in zsh, it won't show up.
Signed-off-by: Nikolas Garofil <nikolas.garofil@uantwerpen.be >
Signed-off-by: Nikolas Garofil <nikolas@garofil.be >
Upstream-commit: 7150d7328c
Component: cli
2017-06-02 00:10:58 +00:00
aab4ed70ae
Improve bash completion for docker rm
...
`docker rm` can delete containers in state=created, too.
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 1c56dfab6f
Component: cli
2017-06-02 00:10:58 +00:00
74ed308aa5
Add bash completion for service ls --filter mode
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: d9192b85d5
Component: cli
2017-06-02 00:10:58 +00:00
248439d169
Add bash completion for node|service|stack ps --format
...
Also add `--quiet|-q` where it was missing.
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 36f5fc7909
Component: cli
2017-06-02 00:10:58 +00:00
a402058f93
Add bash completion for network inspect --verbose
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 977e1238ec
Component: cli
2017-06-02 00:10:58 +00:00
79b127dadd
Update bash completion for docker service logs
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 145bb0218d
Component: cli
2017-06-02 00:10:57 +00:00
e1a7a667a3
Fix fish autocompletion with custom ps output
...
In the docker config.json, if `psFormat` or `imagesFormat` is set to a
non-standard format, it breaks autocompletion.
This fixes the issue by using a custom format.
Signed-off-by: Chris Gibson <chris@chrisg.io >
Upstream-commit: 25654c4e13
Component: cli
2017-06-02 00:10:57 +00:00
8be15cc17b
Add bash completion for topology-aware scheduling
...
- bash completion for `docker service create --placement-pref`
- bash completion for `docker service update --placement-pref-{add,rm}`
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: f50f5f8944
Component: cli
2017-06-02 00:10:57 +00:00
4a4c095ddf
Fix bash completion for service constraints
...
- Remove bash completion for `service update --constraint`
- Add bash completion for `service update --constraint-{add,rm}`
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 380be7f725
Component: cli
2017-06-02 00:10:57 +00:00
f439e07413
Improve bash completion for create|run --stop-signal
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: fa5297b853
Component: cli
2017-06-02 00:10:57 +00:00
326047d6b9
Add bash completion for service create|update --stop-signal
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: f6f45c14ec
Component: cli
2017-06-02 00:10:57 +00:00
d740c90562
Add support for command aliases to bash completion of docker volume
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 77cdc06233
Component: cli
2017-06-02 00:10:57 +00:00
eeef5fa0fb
Improve bash completion for service create|update --update-failure-action
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 0f47a7b1ef
Component: cli
2017-06-02 00:10:57 +00:00
09b39a76f1
Add bash completion for service create|update --rollback-*
...
Also remove wrong completion for `docker service create --rollback`
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 0ada299b10
Component: cli
2017-06-02 00:10:56 +00:00
e63c8ee73b
Improve POSIX compatibility of bash completion
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 9f967c7050
Component: cli
2017-06-02 00:10:56 +00:00
a39ef73c0d
Bash completion for docker service ps completes only one service
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 85db624317
Component: cli
2017-06-02 00:10:56 +00:00
bad34967bc
Hide aliases in bash completion of docker node|service
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 9f2d9da271
Component: cli
2017-06-02 00:10:56 +00:00
6d2c16f8fd
Add bash completion for docker build --add-host
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: a584bd3b1a
Component: cli
2017-06-02 00:10:56 +00:00
ff678e443c
Fix bash completion for docker service ps --filter node
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 09b2383b91
Component: cli
2017-06-02 00:10:56 +00:00
6ad7098f18
Add completion for --filter desired-state=shutdown
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 0ec2d368a8
Component: cli
2017-06-02 00:10:56 +00:00
e0bd29f9ac
Add bash completion for missing filters of docker node ls
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 170fa8ca4c
Component: cli
2017-06-02 00:10:55 +00:00
0e004eba24
Activate bash completion for Windows executable
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: bf0f159175
Component: cli
2017-06-02 00:10:55 +00:00
53eb368255
Add zsh completion for docker log options 'max-buffer-size|mode'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 8c14c4f001
Component: cli
2017-06-02 00:10:55 +00:00
e990a45379
Fix bash completion for start --checkpoint
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: f004bb9cf9
Component: cli
2017-06-02 00:10:55 +00:00