Harald Albers
75411a2233
Complete capabilites with and without "CAP_" prefix.
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 015cb98846
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-09-16 15:53:03 +02:00
Sebastiaan van Stijn
1d540a50d0
Update flag description for docker rm -v
...
The `-v` option removes anonymous volume only, and keeps
named volumes.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 8f5379b301
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-01-27 15:53:37 +01:00
Harald Albers
57332bcea3
Add bash completion for `builder build` options
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit cd9b39fc52
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-10-29 15:11:42 +01:00
Trapier Marshall
2fe281d170
Add bash completion for `builder build`
...
Signed-off-by: Trapier Marshall <trapier.marshall@docker.com>
(cherry picked from commit 86ae871e0a
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-10-29 15:11:28 +01:00
Morten Hekkvang
69f0132397
Fix erroneous space indentation of shell script
...
Signed-off-by: Morten Hekkvang <morten.hekkvang@sbab.se>
(cherry picked from commit fc19fb6d95
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-10-29 15:11:15 +01:00
Morten Hekkvang
9447d7431b
Move filtering to __docker_complete_services, as suggested by @albers
...
Signed-off-by: Morten Hekkvang <morten.hekkvang@sbab.se>
(cherry picked from commit 6ebcc211a7
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-10-29 15:11:13 +01:00
Morten Hekkvang
c70ce79adc
Fix substitution of comma to space character, suggested by @albers
...
Signed-off-by: Morten Hekkvang <morten.hekkvang@sbab.se>
(cherry picked from commit b85e1e2efe
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-10-29 15:11:10 +01:00
Morten Hekkvang
667bd9a1b8
Make service completion faster
...
Signed-off-by: Morten Hekkvang <morten.hekkvang@sbab.se>
(cherry picked from commit f55c5b6566
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-10-29 15:11:08 +01:00
Tim Sampson
6c66c799c7
add rudimentary fish completions for docker network
...
Signed-off-by: Tim Sampson <tim@sampson.fi>
(cherry picked from commit 2f7b364cb3
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-10-29 15:10:42 +01:00
Rohan Verma
10a899b6bd
fix: docker login autocomplete for zsh
...
Changed `--user` to `--username`
Signed-off-by: Rohan Verma <hello@rohanverma.net>
(cherry picked from commit 1dc756e8df
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-07-12 16:14:52 +02:00
Harald Albers
8cf8fc27fa
Add bash completion for `events --filter node`
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit c1639e1e42
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-05-13 08:51:15 -07:00
Harald Albers
68d67f2cbf
Add bash completion for `context create --from`
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit b55992afc6
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-05-13 08:51:04 -07:00
Trapier Marshall
c1754d9e5d
bash completion: add node type filter
...
Signed-off-by: Trapier Marshall <trapier.marshall@docker.com>
(cherry picked from commit 50a45babac
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-05-13 08:50:52 -07:00
Harald Albers
af9b8c1be3
Add bash completion for `--security-opt systempaths=unconfined`
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 1648d6c4a4
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-05-13 08:50:37 -07:00
Harald Albers
292fc5c580
Remove deprecated storage drivers from bash completion
...
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit bfa43d2989
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-05-13 08:45:10 -07:00
Harald Albers
7945010874
Add support for BuildKit specific options to bash completion
...
Signed-off-by: Harald Albers <github@albersweb.de>
2019-04-05 23:27:12 +02:00
Tibor Vass
984ad2f075
Merge pull request #1626 from albers/completion-engine
...
Add bash completion for `docker engine` command family
2019-03-21 14:51:56 -07:00
Tõnis Tiigi
dca6d2afa1
Merge pull request #1765 from thaJeztah/carry_181_pids_limit
...
Add `--pids-limit` flag to `docker update`
2019-03-21 14:11:09 -07:00
Harald Albers
e3544b2e99
Add bash completion for `docker engine` command family
...
Signed-off-by: Harald Albers <github@albersweb.de>
2019-03-21 22:02:48 +01:00
Sebastiaan van Stijn
93f34dc097
Merge pull request #1727 from albers/completion-builder-prune
...
Add bash completion for `builder prune`
2019-03-21 12:08:07 +01:00
Sebastiaan van Stijn
62a9303232
Merge pull request #1726 from albers/completion-network-ls-filter-dangling
...
Add bash completion for `network ls --filter dangling`
2019-03-21 10:53:24 +01:00
Sunny
de3a5f0fe5
Add `--pids-limit` flag to `docker update`
...
Signed-off-by: Sunny Gogoi <indiasuny000@gmail.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-03-21 01:20:32 +01:00
Sebastiaan van Stijn
f620349837
Add systctl support for services
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-03-19 13:33:32 +01:00
Harald Albers
24ca6cc68c
Add bash completion for `builder prune`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2019-03-09 16:04:08 +01:00
Harald Albers
9c8dec9f0b
Add bash completion for `network ls --filter dangling`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2019-03-09 14:41:41 +01:00
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