Sebastiaan van Stijn
ff107b313a
Update to shellcheck v0.6.0
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-02-26 15:12:52 +01:00
Sebastiaan van Stijn
cd7d2dfe87
Bash completion: add '--replicas-max-per-node'
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-02-22 11:20:29 +01:00
Sebastiaan van Stijn
8271c94dfe
Merge pull request #1650 from MatteoOreficeIT/master
...
prevent bash process substitution error in cygwin
2019-02-11 15:32:56 +01:00
Matteo Orefice
0b49495b1d
Prevent bash process substitution error in cygwin
...
Signed-off-by: Matteo Orefice <matteo.orefice@bites4bits.software>
2019-02-10 14:04:45 +00:00
Sebastiaan van Stijn
8af4e77994
Merge pull request #1588 from mdsouza2/add-quiet-flag-to-docker-pull
...
Add quiet flag to bash completion for docker pull
2019-02-08 23:18:31 +01:00
Brian Goff
3e8a23a7fb
Merge pull request #1625 from albers/completion-stoppable
...
Complete paused containers on `docker stop`
2019-02-07 09:37:35 -08:00
Harald Albers
884d0783bd
Add bash completion for global `--context|-c` option
...
Signed-off-by: Harald Albers <github@albersweb.de>
2019-01-22 22:27:01 +01:00
Harald Albers
33e0bce89f
Complete paused containers on `docker stop`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2019-01-20 21:59:47 +01:00
Harald Albers
41bd8dad8c
Add bash completion for the `context` command family
...
Signed-off-by: Harald Albers <github@albersweb.de>
2019-01-20 21:10:33 +01:00
Mohini Anne Dsouza
db31142a6a
Add quiet flag to bash completion for docker pull
...
Signed-off-by: Mohini Anne Dsouza <mohini3917@gmail.com>
2018-12-21 10:44:21 -08:00
Sebastiaan van Stijn
a0fe333cab
Merge pull request #1546 from albers/completion-import--platform
...
Add bash completion for `import --platform`
2018-12-07 20:07:49 +01:00
Sebastiaan van Stijn
687cf9bef7
Merge pull request #1547 from albers/completion-log-driver-local
...
Add bash completion for "local" log driver
2018-12-07 20:04:09 +01:00
Aleksa Sarai
647579068f
cli: add a separate --domainname flag
...
A while ago, Docker split the "Domainname" field out from the "Hostname"
field for the container configuration. There was no real user-visible
change associated with this (and under the hood "Domainname" was mostly
left unused from the command-line point of view). We now add this flag
in order to match other proposed changes to allow for setting the NIS
domainname of a container.
This also includes a fix for the --hostname parsing tests (they would
not error out if only one of .Hostname and .Domainname were incorrectly
set -- which is not correct).
Signed-off-by: Aleksa Sarai <asarai@suse.de>
2018-12-08 00:03:56 +11:00
Harald Albers
c59038b15c
Add bash completion for "local" log driver
...
Ref: https://github.com/moby/moby/pull/37092
Also adds log-opt `compress` to json-file log driver because this was
also added in the referenced PR.
Signed-off-by: Harald Albers <github@albersweb.de>
2018-12-02 19:07:19 +01:00
Harald Albers
e0fe546c37
Add bash completion for `import --platform`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2018-12-01 23:30:30 +01:00
Sebastiaan van Stijn
1f6a1a438c
Merge pull request #1252 from albers/completion-cli-experimental
...
Add bash completion for experimental CLI commands (manifest)
2018-11-29 17:11:28 +01:00
Silvin Lubecki
69bd2728c4
Merge pull request #1509 from selansen/master
...
Data Path Port configuration support
2018-11-28 17:10:39 +01:00
selansen
e3e976a82a
Data Path Port configuration support
...
This PR chnages allow user to configure data path
port number. By default we use 4789 port number. But this commit
will allow user to configure port number during swarm init.
Data path port can't be modified after swarm init.
Signed-off-by: selansen <elango.siva@docker.com>
2018-11-28 10:55:42 -05:00
Harald Albers
5fa5eb1da6
Fix bash completion for `service update --force`
...
- `--force` is not available in `service create`
- `--force` is a boolean option
Signed-off-by: Harald Albers <github@albersweb.de>
2018-11-15 13:43:58 +01:00
Trapier Marshall
1695eac4b3
Add bash completion for `service --no-resolve-image`
...
Signed-off-by: Trapier Marshall <trapier.marshall@docker.com>
2018-10-12 11:02:10 -04:00
Harald Albers
0fb4256a00
Add bash completion for `manifest` command family
...
Signed-off-by: Harald Albers <github@albersweb.de>
2018-08-30 08:54:49 +02:00
Harald Albers
a183c952c6
Add support for experimental cli features to bash completion
...
This is needed for implementing bash completion for the `docker manifest`
command family.
Signed-off-by: Harald Albers <github@albersweb.de>
2018-08-30 08:54:49 +02:00
Harald Albers
564d4da06e
Refactor usage of `docker version` in bash completion
...
This preapares bash completion for more context sensitivity:
- experimental cli features
- orchestrator specific features
Also renames _daemon_ to _server_ where used in context of `docker version`
because the fields there are grouped unter _Server_.
Signed-off-by: Harald Albers <github@albersweb.de>
2018-08-30 08:54:49 +02:00
selansen
587a94c935
Global Default Address Pool feature support
...
This feature brings new attribute/option for swarm init command.
default-addr-pool will take string input which can be in below format.
"CIDR,CIDR,CIDR...:SUBNET-SIZE".
Signed-off-by: selansen <elango.siva@docker.com>
2018-08-21 14:34:00 -04:00
Sebastiaan van Stijn
b5768bea9b
Merge pull request #1271 from albers/completion-shellcheck
...
Fix shellcheck warnings
2018-08-04 01:36:36 +02:00
Sebastiaan van Stijn
e8cd06c8eb
Merge pull request #1269 from albers/completion-cp--archive
...
Add bash completion for `cp --archive`
2018-08-03 23:48:52 +02:00
Harald Albers
e587ec293b
Fix shellcheck warnings
...
Signed-off-by: Harald Albers <github@albersweb.de>
2018-08-03 15:28:09 +02:00
Ace-Tang
7b4e2f3145
bash completion: fix uncorrect completion
...
fix uncorrect completion for command
docker docker <tab>
Signed-off-by: Ace-Tang <aceapril@126.com>
2018-08-03 21:27:27 +08:00
Harald Albers
b9b3754ad3
Add bash completion for `cp --archive`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2018-08-03 14:30:30 +02:00
Harald Albers
08f8ee1320
Add bash completion for kubernetes orchestrator
...
Signed-off-by: Harald Albers <github@albersweb.de>
2018-08-02 13:54:31 +02:00
Harald Albers
8ef01e869e
Only complete swarm specific options with orchestrator=swarm
...
Signed-off-by: Harald Albers <github@albersweb.de>
2018-08-02 13:54:31 +02:00
Harald Albers
ff953751d3
Add support for orchestrator specific bash completions
...
Signed-off-by: Harald Albers <github@albersweb.de>
2018-08-02 13:54:31 +02:00
Sebastiaan van Stijn
08f5f52cdc
Merge pull request #1215 from albers/completion-service-logs-options
...
Add bash completion for `service logs --details|--raw`
2018-07-31 22:25:36 +02:00
Paweł Szczekutowicz
c922ea2f45
Added events filter scope bash completion
...
Signed-off-by: Paweł Szczekutowicz <pszczekutowicz@gmail.com>
2018-07-20 15:37:49 +02:00
Harald Albers
4912846de2
Add bash completion for `service logs --details|--raw`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2018-07-16 18:46:06 +02:00
Harald Albers
97d312e02a
Add bash completion for `service create|update --init`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2018-07-13 09:05:29 +02:00
Sebastiaan van Stijn
3991b2fae3
Merge pull request #1158 from albers/completion-dockerd--default-address-pool
...
Add bash completion for `dockerd --default-address-pool`
2018-06-29 11:48:43 +02:00
Harald Albers
8443982188
Add bash completion for `exec_die` event
...
Signed-off-by: Harald Albers <github@albersweb.de>
2018-06-29 11:20:23 +02:00
Harald Albers
0e6d9dfe85
Add bash completion for `dockerd --default-address-pool`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2018-06-29 11:11:24 +02:00
Harald Albers
43024e2d57
Add bash completion for `secret|config create --template-driver`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2018-04-14 14:46:19 +02:00
Sebastiaan van Stijn
2a6808db87
Bash: update trust completions
...
The `docker trust` commands were moved out of experimental,
and the `docker trust view` command was changed to
`docker trust inspect --pretty`.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-03-14 01:21:33 +01:00
Trapier Marshall
fb80101ca7
Add swarm types to bash completion event type filter
...
Signed-off-by: Trapier Marshall <trapier.marshall@docker.com>
2018-02-19 13:46:23 -05:00
Vincent Demeester
26a2a45967
Merge pull request #682 from albers/completion-service-options
...
Fix and simplify bash completion for service env, mounts and labels
2018-02-01 14:02:51 -08:00
Sebastiaan van Stijn
4586609f71
Merge pull request #717 from albers/completion-images-2
...
Improve and fix bash completion for images
2018-01-27 17:48:49 -08:00
muicoder
e2f73bb4b7
Fix bash completion for "docker swarm"
...
Signed-off-by: muicoder <muicoder@gmail.com>
2018-01-01 12:58:16 +08:00
Daniel Nephin
718a245b6e
Merge pull request #713 from albers/completion-512
...
Fix #512 Bash autocompletion works incorrect with inspect
2017-12-15 16:33:41 -05:00
Harald Albers
f2b42bb6a8
Simplify bash completion for service options
...
Previously, the completions for `--xxx` and the corresponding
`-xxx-add` and `-xxx-rm` options were defined in separate blocks.
This caused a lot of duplicated code.
This PR removes duplication for xxx=config|group|host|placement-pref|secret.
Now the blocks for `create` and `update` only contain completions for
options that either only exist for the particular command or are specific
to it (completions for `--env-rm` and `--env|env-add` differ).
Signed-off-by: Harald Albers <github@albersweb.de>
2017-12-15 13:49:42 +01:00
Harald Albers
d149c93c0c
Fix bash completion for service env, mounts and labels
...
`service create` and `service update` both used to have `--env`, `--label`
and `--mount` options.
These options now are only valid for `service create`.
`service update` got corresponding `--xxx-add|rm` options instead.
Signed-off-by: Harald Albers <github@albersweb.de>
2017-12-15 13:49:42 +01:00
Sebastiaan van Stijn
8684b99923
Merge pull request #749 from albers/completion--generic-resource
...
Add support for generic resources to bash completion
2017-12-15 01:08:42 -08:00
Harald Albers
8ec80eec67
Add support for generic resources to bash completion
...
Adds bash completion for
- `service create --generic-resource`
- `service update --generic-resource-(add|rm)`
- `dockerd --node-generic-resource`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-12-15 08:56:14 +01:00