Commit Graph

725 Commits (a84463d8d56a41c1bf9496efc35580789891c2c9)

Author SHA1 Message Date
Sebastiaan van Stijn ee1bbab620 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>
2017-06-14 02:48:46 +00:00
Noah Treuhaft 9810554494 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>
2017-06-02 00:11:05 +00:00
Harald Albers 4c0d6698d1 Update bash completion for log driver options
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:11:05 +00:00
Harald Albers d8dfa04cae Add bash completion for new devicemapper storage options
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:11:05 +00:00
Harald Albers 95fcee5fc6 Add bash completion for `--health-start-period`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:11:05 +00:00
Harald Albers 62d0309d24 bash completion for `stack deploy --prune`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:11:05 +00:00
Harald Albers 513ea82edd Add bash completion for `stack ls --format`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:11:04 +00:00
Harald Albers 3e646fed80 Add bash completion for `system df --format`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:11:04 +00:00
Harald Albers 509b7f82b6 Add missing bash completion for `docker attach`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:11:04 +00:00
Harald Albers 40d3bb4985 Remove bash completion for `run|create --init-path`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:11:04 +00:00
Harald Albers 38dcfad556 Add bash completion for `history --format`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:11:04 +00:00
Flavio Crisciani 137a190a79 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>
2017-06-02 00:11:04 +00:00
Harald Albers 8ea7724f64 Remove bogus statement from bash completion
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:11:03 +00:00
Harald Albers 24d7795c2c 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>
2017-06-02 00:11:03 +00:00
Corey Farrell 0e75012be1 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>
2017-06-02 00:11:03 +00:00
yuexiao-wang fcdc75de3e Fix inconsisticy for service logs
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2017-06-02 00:11:03 +00:00
Harald Albers 50ea10e293 Bash completion supports multiple stacks in `stack rm`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:11:03 +00:00
Harald Albers e3cab9a751 Add bash completion for `node ls --format`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:11:02 +00:00
Harald Albers 0d4b2350fb Add bash completion for `update --cpus`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:11:02 +00:00
Akihiro Suda 6103806802 cli: add `--mount` to `docker run`
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-06-02 00:11:02 +00:00
Harald Albers 1a9663696d 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>
2017-06-02 00:11:01 +00:00
Harald Albers 10638a7a3e Add bash completion for `secret ls --format`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:11:01 +00:00
Steve Durrheimer 5ef17bfc68 Add zsh completion for 'docker {node,service,stack} ps --format'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-06-02 00:11:01 +00:00
Josh Hawn 804858fc6f Deprecate --graph flag; Replace with --data-root
Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
2017-06-02 00:11:01 +00:00
Vincent Demeester 578a431fb3 Add support for `--type=secret` in `docker inspect`
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2017-06-02 00:11:01 +00:00
Harald Albers c6875037bb Add bash completion for `secret ls --format`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:11:01 +00:00
Steve Durrheimer 91d886adc4 Add zsh completion for 'docker network ls --filter scope'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-06-02 00:11:00 +00:00
Steve Durrheimer 51a4fbbf1f Add missing zsh completion for 'docker plugin ls'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-06-02 00:11:00 +00:00
John Howard (VM) a10f63f0ce Windows: Remove --credentialspec flag
Signed-off-by: John Howard (VM) <jhoward@ntdev.microsoft.com>
2017-06-02 00:11:00 +00:00
Harald Albers d9a648caed Add bash completion for `network ls --filter scope`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:59 +00:00
Steve Durrheimer 9be3a2cec8 Add zsh completion for 'docker service ls --filter mode'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-06-02 00:10:59 +00:00
Steve Durrheimer 396925bab0 Add zsh completion for 'docker secret ls --format'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-06-02 00:10:59 +00:00
Steve Durrheimer 4cb6ab4eb5 Add zsh completion for 'docker service {create,update} --rollback-*'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-06-02 00:10:59 +00:00
Steve Durrheimer a7af767c0d Add zsh completion for 'docker logs --no-task-ids --no-trunc'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-06-02 00:10:59 +00:00
Steve Durrheimer 7931960ded Add zsh completion for 'docker service {create,update} --stop-signal'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-06-02 00:10:59 +00:00
Steve Durrheimer 80482d7f96 Add zsh completion for 'docker network inspect --verbose'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-06-02 00:10:59 +00:00
Steve Durrheimer 9a46875a95 Add zsh completion for 'docker build --add-host'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-06-02 00:10:59 +00:00
Steve Durrheimer 0e6eb9976b Add zsh completion for 'docker service {create,update} --placement-pref'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
2017-06-02 00:10:59 +00:00
Harald Albers bd1c58ccaf 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>
2017-06-02 00:10:58 +00:00
Nikolas Garofil 7150d7328c 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>
2017-06-02 00:10:58 +00:00
Harald Albers 1c56dfab6f Improve bash completion for `docker rm`
`docker rm` can delete containers in state=created, too.

Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:58 +00:00
Harald Albers d9192b85d5 Add bash completion for `service ls --filter mode`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:58 +00:00
Harald Albers 36f5fc7909 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>
2017-06-02 00:10:58 +00:00
Harald Albers 977e1238ec Add bash completion for `network inspect --verbose`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:58 +00:00
Harald Albers 145bb0218d Update bash completion for `docker service logs`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:57 +00:00
Chris Gibson 25654c4e13 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>
2017-06-02 00:10:57 +00:00
Harald Albers f50f5f8944 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>
2017-06-02 00:10:57 +00:00
Harald Albers 380be7f725 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>
2017-06-02 00:10:57 +00:00
Harald Albers fa5297b853 Improve bash completion for `create|run --stop-signal`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:57 +00:00
Harald Albers f6f45c14ec Add bash completion for `service create|update --stop-signal`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-02 00:10:57 +00:00