Sebastiaan van Stijn
2f5b714872
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 >
Upstream-commit: ee1bbab620
Component: cli
2017-06-14 02:48:46 +00:00
Noah Treuhaft
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
Flavio Crisciani
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
yuexiao-wang
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
Akihiro Suda
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
Steve Durrheimer
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
Josh Hawn
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
Vincent Demeester
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
Steve Durrheimer
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
Steve Durrheimer
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
Steve Durrheimer
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
Steve Durrheimer
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
Steve Durrheimer
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
Steve Durrheimer
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
Steve Durrheimer
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
Steve Durrheimer
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
Steve Durrheimer
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
Steve Durrheimer
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
Nikolas Garofil
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
Harald Albers
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
Steve Durrheimer
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
Steve Durrheimer
aa0cc42243
Add zsh completion for 'docker service logs' command
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 924aff0cd4
Component: cli
2017-06-02 00:10:55 +00:00
Steve Durrheimer
14c4467684
Add zsh completion for 'docker checkpoint' commands
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 6108385baa
Component: cli
2017-06-02 00:10:54 +00:00
Steve Durrheimer
07f5778f94
Add zsh completion for missing 'docker plugin' commands and options
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: d5c236ca20
Component: cli
2017-06-02 00:10:54 +00:00
Steve Durrheimer
b41c5d712a
Fix useless trailing backslash in zsh completion
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: a93d410af7
Component: cli
2017-06-02 00:10:54 +00:00
Steve Durrheimer
f7828d31ba
Add cache invalidation in zsh completion when the DOCKER_HIDE_LEGACY_COMMANDS envvar changes
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 8691d0dd68
Component: cli
2017-06-02 00:10:54 +00:00
Steve Durrheimer
a725b24df3
Add zsh completion for 'docker {service ls,stack services} --format'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: f8462e533e
Component: cli
2017-06-02 00:10:54 +00:00
Steve Durrheimer
5198d702bc
Add zsh completion for 'docker {ps,service ls} --filter expose|publish'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: d36a82bcaf
Component: cli
2017-06-02 00:10:54 +00:00
Steve Durrheimer
b90b87733a
Add zsh completion for 'dockerd --default-shm-size'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: e4c858dba4
Component: cli
2017-06-02 00:10:54 +00:00
Steve Durrheimer
282cc0b3cb
Add zsh completion for 'docker build --squash'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 58ef5d4760
Component: cli
2017-06-02 00:10:54 +00:00
Steve Durrheimer
e120edc8e0
Add zsh completion for 'docker swarm unlock|unlock-key' commands
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: acff7d285d
Component: cli
2017-06-02 00:10:54 +00:00
Steve Durrheimer
ae910fdbcf
Add zsh completion for missing 'docker swarm init|update' options
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 620247aab4
Component: cli
2017-06-02 00:10:54 +00:00
Kenfe-Mickael Laventure
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
Yong Tang
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
Yong Tang
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
Steve Durrheimer
00e39ec8eb
Add zsh completion for multiple service for 'docker service ps'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 4577834e8c
Component: cli
2017-06-02 00:10:50 +00:00
Steve Durrheimer
9481afb436
Add zsh completion for 'docker plugin install --alias'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 3cb11c99b3
Component: cli
2017-06-02 00:10:50 +00:00
Steve Durrheimer
c8f6d866c3
Add zsh completion for 'dockerd --init' and 'docker {create,run} --init'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: f7efcbbaa1
Component: cli
2017-06-02 00:10:49 +00:00
Steve Durrheimer
07072a8984
Add zsh completion for 'docker swarm --availability'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: ad214d7a79
Component: cli
2017-06-02 00:10:49 +00:00
Steve Durrheimer
c11bc343aa
Add zsh completion for 'docker {container,image,network,system} prune --filter'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 8cd8ceedf6
Component: cli
2017-06-02 00:10:49 +00:00
yuexiao-wang
4fbe81294a
keep network option consistent between network connect and run
...
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn >
Upstream-commit: 6337d3724e
Component: cli
2017-06-02 00:10:48 +00:00
Yunxiang Huang
6b942cd096
Fix "zsh/_docker"
...
Signed-off-by: Yunxiang Huang <hyxqshk@vip.qq.com >
Upstream-commit: bd5bced8d1
Component: cli
2017-06-02 00:10:48 +00:00
Vincent Demeester
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
Steve Durrheimer
1ac48acf56
Add zsh completion for 'docker inspect --type=plugin' and other missing ones
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: f25ad6e8b7
Component: cli
2017-06-02 00:10:43 +00:00
Steve Durrheimer
6d94bbc890
Add zsh completion for 'docker network create --attachable'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: b94c1ab634
Component: cli
2017-06-02 00:10:43 +00:00
Akihiro Suda
f60e8dbe1d
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 >
Upstream-commit: a5053dce24
Component: cli
2017-06-02 00:10:42 +00:00
Steve Durrheimer
cc1ac47c15
Add zsh completion for 'docker stack' subcommand
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 0bdfdf3779
Component: cli
2017-06-02 00:10:42 +00:00
Steve Durrheimer
9638064966
Add zsh completion for 'docker service update --hostname'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: 2d48b3f9ac
Component: cli
2017-06-02 00:10:41 +00:00
Ben Firshman
74de856edc
Rename Remote API to Engine API
...
Implementation of https://github.com/docker/docker/issues/28319
Signed-off-by: Ben Firshman <ben@firshman.co.uk >
Upstream-commit: 2cfcc8a8fa
Component: cli
2017-06-02 00:10:40 +00:00
Steve Durrheimer
6b535bc2c3
Add zsh completion for 'docker image ls --filter reference'
...
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com >
Upstream-commit: f3c9cdadd3
Component: cli
2017-06-02 00:10:40 +00:00