Victor Vieux
eafd4433aa
Merge pull request #133 from thaJeztah/cli-docs-cherry-picks
...
[17.06] CLI reference docs cherry-picks (and 1 completion fix)
2017-07-26 16:18:23 -07:00
Harald Albers
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
Harald Albers
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
Harald Albers
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
Harald Albers
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
Harald Albers
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
Harald Albers
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
Harald Albers
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
Harald Albers
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
Sebastiaan van Stijn
c2b2ea1702
Service privileges: CLI reference docs & completion
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
(cherry picked from commit 5cc7ac2990 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2017-07-25 02:35:42 +02:00
Harald Albers
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
Harald Albers
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
Harald Albers
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
Harald Albers
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
Harald Albers
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
Harald Albers
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
Harald Albers
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
Harald Albers
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
Harald Albers
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
Harald Albers
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
Harald Albers
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
Harald Albers
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
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
Harald Albers
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
Harald Albers
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
Harald Albers
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
Harald Albers
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
Harald Albers
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
Harald Albers
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
Harald Albers
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
Harald Albers
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
Harald Albers
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
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
Harald Albers
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
Harald Albers
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
Corey Farrell
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
Harald Albers
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
Harald Albers
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
Harald Albers
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
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
Harald Albers
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
Harald Albers
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
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
Harald Albers
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
John Howard (VM)
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
Harald Albers
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
Harald Albers
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
Harald Albers
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
Harald Albers
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