Commit Graph

486 Commits

Author SHA1 Message Date
5305c7b28b Merge pull request #248 from albers/completion-network-create--scope
Add bash completion for `network create --scope|--config-only|config-from`
Upstream-commit: 306212574a
Component: cli
2017-07-04 16:48:18 +02:00
58665dca40 Merge pull request #246 from albers/completion-prune--filter-label
Add bash completion for `label` filter of `prune` commands
Upstream-commit: 1f45f1b5f9
Component: cli
2017-07-04 16:44:23 +02:00
4f68746145 Merge pull request #282 from albers/completion-daemon-updates
Updates to bash completion for `dockerd`
Upstream-commit: 42a31ff8c1
Component: cli
2017-07-04 16:42:10 +02:00
460a63fa01 Add bash completion for dockerd --metrics-addr
`--metrics-addr` does not accept network interface names.
Therefore `__docker_local_interfaces` was refined for this feature to
optionally exclude interface names.

Note that although `--metrics-addr` is experimental, it cannot be
selectively enabled in bash completion because the test for the daemon
running in experimental mode requires a running daemon. As this
completion pertains to starting the daemon, this requirement is not met.

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 0ea31afd57
Component: cli
2017-07-04 14:40:22 +02:00
dff3d848de Add bash completion for dockerd --storage-opt overlay2.size
This adds bash completion for
- https://github.com/docker/cli/pull/215
- https://github.com/moby/moby/pull/32977

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: a4b1769bb6
Component: cli
2017-07-03 18:03:00 +02:00
3abe1e3a95 Add bash completion for dockerd --cpu-rt-(period|runtime)
This adds bash completion for https://github.com/moby/moby/pull/23430.

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 74a5d1af86
Component: cli
2017-07-03 13:55:46 +02:00
67ccad49a6 Add bash completion for dockerd --default-runtime
`--default-runtime` was added in https://github.com/moby/moby/pull/22983

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: d610951e85
Component: cli
2017-07-03 13:44:23 +02:00
523bbfaf9d Add bash completion for dockerd --no-new-privileges
This adds bash completion for https://github.com/moby/moby/pull/32944.

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 112348d4db
Component: cli
2017-07-03 13:33:01 +02:00
bea84311a0 Add bash completion for dockerd --version
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 5296907bef
Component: cli
2017-07-03 13:32:29 +02:00
167d48d341 Add bash completion for dockerd --swarm-default-advertise-addr
This adds bash completion for https://github.com/moby/moby/pull/24237.

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: cf3ffc516b
Component: cli
2017-07-03 13:09:43 +02:00
d97f0f6543 Merge pull request #268 from albers/completion-swarm-ca
Add bash completion for `swarm ca`
Upstream-commit: afcc75ddfe
Component: cli
2017-06-30 11:42:28 +02:00
41272f1b72 Add bash completion for network create --scope|--config-only|config-from
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 22579ba56c
Component: cli
2017-06-30 11:01:45 +02:00
5cf169cc6a Merge pull request #269 from albers/completion-swarm-init--data-path-addr
Fix bash completion for `swarm init|join --data-path-addr`
Upstream-commit: 9689ccab1b
Component: cli
2017-06-30 10:29:35 +02:00
88fc3881d6 Merge pull request #250 from albers/completion-service-create--detach
Add bash completion for `service create --detach`
Upstream-commit: b306817220
Component: cli
2017-06-30 01:16:19 -07:00
fb07a8e807 Merge pull request #256 from albers/completion-service-update-order
Add bash completion for `service create|update (update|rollback)-order`
Upstream-commit: c726ccaf6c
Component: cli
2017-06-30 01:12:57 -07:00
67050e7a6f Merge pull request #257 from albers/completion-service--network-add
Add bash completion for `service create|update --network-(add|rm)`
Upstream-commit: 321c692868
Component: cli
2017-06-30 01:11:22 -07:00
1e38251e9a Merge pull request #251 from albers/completion-plugin-events
Add bash completion for plugin events
Upstream-commit: d1ccfcaf2a
Component: cli
2017-06-30 01:02:53 -07:00
72ce4394de Merge pull request #254 from albers/completion-system-prune--volumes
Add bash completion for `system prune --volumes`
Upstream-commit: 495ab9b3e9
Component: cli
2017-06-30 01:01:14 -07:00
46544e3ed0 Merge pull request #249 from albers/completion-fix-network-create--internal
Fix bash completion for `network create --internal`
Upstream-commit: b45c7d614e
Component: cli
2017-06-30 00:11:38 -07:00
b7f79e8cec Merge pull request #247 from albers/completion-service--entrypoint
Add bash completion for `service create|update --entrypoint`
Upstream-commit: 1c4d070cf5
Component: cli
2017-06-30 00:09:20 -07:00
4815e9227a Fix bash completion for swarm init|join --data-path-addr
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: fa4dc8820a
Component: cli
2017-06-29 16:45:18 +02:00
7c199971a1 Add bash completion for swarm ca
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 5bd00a563e
Component: cli
2017-06-29 16:28:50 +02:00
d4b74e4fd3 Add bash completion for service create|update --network-(add|rm)
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: fa0f470a5f
Component: cli
2017-06-27 17:43:05 +02:00
2d54e9fa16 Add bash completion for service create|update (update|rollback)-order
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 71dd0e0b66
Component: cli
2017-06-27 17:32:43 +02:00
7fb6cb009c Add bash completion for system prune --volumes
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 36b572dfdf
Component: cli
2017-06-27 16:37:41 +02:00
55b50a2ecf Add bash completion for plugin events
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: f0f7150537
Component: cli
2017-06-27 15:37:14 +02:00
098742e654 Add bash completion for service create --detach
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 8baef1098e
Component: cli
2017-06-27 12:58:38 +02:00
7a7da398c1 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>
Upstream-commit: 12dc9eb11f
Component: cli
2017-06-27 12:39:27 +02:00
7612cca1fe 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>
Upstream-commit: e0462e8472
Component: cli
2017-06-27 11:54:05 +02:00
b6d365bb3f Add bash completion for label filter of prune commands
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 8b99b65ca8
Component: cli
2017-06-27 11:28:52 +02:00
1f11d8b4bd Add bash completion for network create --ingress
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: e4f9ad77c8
Component: cli
2017-06-25 00:27:14 +02: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
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