David le Blanc
c270556d44
Fixed typo in bash completion functions
...
Signed-off-by: David le Blanc <david-le-blanc@users.noreply.github.com>
(cherry picked from commit c514003e69
)
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-03-04 12:12:55 +01:00
Sebastiaan van Stijn
b14094df53
contrib/completion: remove logentries logging-driver
...
This driver has been deprecated and removed because the service
is no longer operational.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-12-13 13:15:14 +01:00
Oded Arbel
1da67be9ca
Stop slowing bash init by caching plugins path slowly
...
Fixes issue #3889 by only loading docker plugins path when needed: if it is fast enough than it shouldn't be a problem to do this on demand; OTOH if it is slow then we shouldn't do this during *every* bash session initialization, regardless if docker completion will be needed or not.
Signed-off-by: Oded Arbel <oded@geek.co.il>
2023-08-23 13:40:29 +03:00
Sebastiaan van Stijn
73fbcdea05
contrib/completion: remove aufs, legacy overlay
...
The AuFS and (legacy) overlay storage drivers have been deprecated and
removed, so remove them from the completion scripts.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-05-19 00:59:25 +02:00
Sebastiaan van Stijn
9f15ba0d13
Merge pull request #4156 from AkihiroSuda/docker-run-annotation
...
cli/command/container: implement `docker run --annotation`
2023-05-06 00:49:15 +02:00
Sebastiaan van Stijn
0dec5d20a2
volumes: prune: add --all / -a option
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-04-20 23:31:47 +02:00
Akihiro Suda
88be16cb5b
cli/command/container: implement `docker run --annotation`
...
For moby/moby PR 45025 (Docker v24, API v1.43).
`docker run --annotation foo=bar` is similar to `podman run --annotation foo=bar`,
however, unlike Podman, Docker implementation also accepts an annotation with an empty value.
(`docker run --annotation foo`)
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-04-14 12:59:12 +09:00
Laura Brehm
683e4bf0c4
Fix plugin completion parsing for plugins using `ShellCompDirectiveFilterFileExt`
...
Signed-off-by: Laura Brehm <laurabrehm@hey.com>
2023-04-03 23:30:05 +01:00
CrazyMax
aa0aa4a6dc
Add bash completion for available plugins
...
Signed-off-by: CrazyMax <github@crazymax.dev>
2023-03-17 15:04:09 +01:00
Sebastiaan van Stijn
6872164e45
Merge pull request #3965 from scop/fix/bash-completion-nounset
...
contrib/completion: bash `nounset` mode fixes
2023-02-06 12:34:44 +01:00
Sebastiaan van Stijn
1af9f22c7e
Merge pull request #2998 from pseyfert/completion/zsh/volume
...
[completion/zsh] add volume completion
2023-01-13 12:22:14 +01:00
Ville Skyttä
2753057c40
contrib/completion: bash `nounset` mode fixes
...
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
2023-01-12 17:27:24 +02:00
CrazyMax
5a5b7a61d5
contrib: fix engine logging docs link
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-01-06 19:15:34 +01:00
Luis Henrique Mulinari
684dcd7b63
Fix the max-concurrent-downloads and max-concurrent-uploads configs documentation
...
This fix tries to address issues raised in moby/moby#44346 .
The max-concurrent-downloads and max-concurrent-uploads limits are applied for the whole engine and not for each pull/push command.
Signed-off-by: Luis Henrique Mulinari <luis.mulinari@gmail.com>
2022-10-28 16:31:27 +01:00
Tianon Gravi
9505330b07
Remove "experimental" gates around "--platform" in bash completion
...
The `--platform` flag has been out of experimental for a while now. 🎉
Signed-off-by: Tianon Gravi <admwiggin@gmail.com>
2022-10-19 14:25:24 -07:00
Sebastiaan van Stijn
1d6c6e2367
Merge pull request #3130 from acouvreur/master
...
feat(zsh): add context argument completion
2022-10-13 15:24:13 +02:00
Sebastiaan van Stijn
5eb24bfd11
completion: remove options related to deprecated cluster-store
...
This removes completion for flags related to legacy overlay networks using
an external k/v store.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-05-17 11:03:25 +02:00
Sebastiaan van Stijn
2d74be89e2
contrib/completion: remove orchestrator flags from zsh completion
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-05-01 14:03:56 +02:00
Sebastiaan van Stijn
ea0ae30d86
contrib/completion: remove unused options variable
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-05-01 14:03:26 +02:00
Sebastiaan van Stijn
b3ab7c9665
Merge pull request #3547 from cavcrosby/2382-add-force-flag
...
Add --force option to network rm subcommand
2022-04-30 11:56:59 +02:00
Sebastiaan van Stijn
49c56dad10
Merge pull request #3577 from albers/completion-stack-config
...
Add bash completion for `docker stack config`
2022-04-30 11:00:36 +02:00
Harald Albers
6712447e4f
Remove bash completion for deprecated orchestrator flags
...
See 039018b6d3
for corresponding docs change.
Signed-off-by: Harald Albers <github@albersweb.de>
2022-04-29 20:05:56 +00:00
Harald Albers
14d7fe4414
Add bash completion for `docker stack config`
...
This adds bash completion for #3544 .
Signed-off-by: Harald Albers <github@albersweb.de>
2022-04-29 19:31:19 +00:00
Conner Crosby
0ea587b0d7
Add --force option to network rm subcommand
...
The code is similar to that used by the volume rm subcommand, however,
one difference I noticed was VolumeRemove takes the force flag/option
was a parameter. This isn't the case for NetworkRemove.
To get NetworkRemove to take a similar parameter, this would require
modifying the Docker daemon. For now this isn't a route I wish to take
when the code can be arrange to mimic the same behavior.
Co-authored-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Conner Crosby <conner@cavcrosby.tech>
2022-04-29 13:56:33 +02:00
Marc Cornellà
b1f18b700e
fix: remove asterisk from docker command suggestions
...
Some commands in the output of `docker` show up with an asterisk, like
app, build, buildx or scan. This tweak removes that so that the
asterisk is not filled in when choosing those commands.
Signed-off-by: Marc Cornellà <hello@mcornella.com>
2022-04-06 19:56:26 +02:00
Sebastiaan van Stijn
bcd4101f3d
tweak description of login/logout
...
Remove "Docker" from registry, as the registry specification is no
longer docker-specific, but part of the OCI distribution spec.
Also removed "Register" from one of the docs pages, as the login
command hasn't supported creating a new acccount on Docker Hub for
a long time.
I'm wondering if we should be more explicit about what log in / out
does (effectively; authenticate, and on success store the credentials
or token, and on log out; remove credentials/token).
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-04-04 10:44:11 +02:00
Sebastiaan van Stijn
b7b923db41
tweak description of "docker push" and "docker pull" commands
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-04-01 12:33:05 +02:00
Sebastiaan van Stijn
6e6652b702
tweak description of "docker run" command
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-04-01 12:28:37 +02:00
Sebastiaan van Stijn
ac22b2bf52
tweak description of "docker exec" command
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-04-01 12:28:34 +02:00
Nicolas De loof
d8afb01e00
Merge pull request #3466 from glebsts/docker-push-all-tags-docs-improve-signed
2022-03-17 12:27:23 +01:00
Silvin Lubecki
d8ecb00dda
Update shell completion scripts
...
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
2022-03-15 15:36:04 +01:00
Gleb Stsenov
de05499267
align wording of push --all-tags parameter description
...
Signed-off-by: Gleb Stsenov <gleb.stsenov@gmail.com>
2022-03-10 19:48:41 +02:00
Chee Hau Lim
1d4431c1e7
cli/command: Add quiet option for create and run
...
Signed-off-by: Chee Hau Lim <cheehau.lim@mobimeo.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-03-01 14:20:18 +01:00
Vardan Pogosian
77b1031be9
make compose plugin detection in bash completion work on Mac OS
...
Signed-off-by: Vardan Pogosian <vardan.pogosyan@gmail.com>
2022-01-09 12:15:00 +03:00
Ulysses Souza
5a8d7d506c
Detect compose plugin
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-07-19 12:02:34 -03:00
Ulysses Souza
1148163c3e
Add completion for docker-compose plugin
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-07-12 11:43:57 -03:00
Anca Iordache
64b2e95287
Document `--validate` daemon option
...
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
2021-06-24 15:00:21 +00:00
acouvreur
79638e6ea4
feat(docker): add context argument completion
...
Signed-off-by: acouvreur <alexiscouvreur.pro@gmail.com>
2021-06-14 08:22:46 +02:00
Paul Seyfert
35b42efad3
[completion/zsh] add volume completion
...
This provides completion for `docker run ... -v <TAB>`.
This closes (part of) #1997 .
Signed-off-by: Paul Seyfert <pseyfert.mathphys@gmail.com>
2021-03-04 22:50:38 +01:00
Sebastiaan van Stijn
f52a9e2fef
Add docs and completion for docker node ls --filter node.label
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-01-27 14:11:31 +01:00
Sebastiaan van Stijn
9a3fdc1d64
Merge pull request #2906 from stoffus/added-docker-context-to-zsh-completion
...
Added docker context to zsh completion
2021-01-11 17:28:37 +01:00
Brian Goff
a86662d461
Merge pull request #2913 from albers/completion-fluentd-options
...
Update bash completion for fluentd --log-options
2021-01-07 11:25:38 -08:00
Brian Goff
273217915a
Merge pull request #2914 from albers/completion-dockerd--ip6tables
...
Add bash completion for `dockerd --ip6tables`
2021-01-07 11:25:11 -08:00
Harald Albers
ba2fef9bcb
Add bash completion for `dockerd --ip6tables`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2021-01-05 22:31:07 +00:00
Harald Albers
5a252fb3ad
Update bash completion for fluentd --log-options
...
Signed-off-by: Harald Albers <github@albersweb.de>
2021-01-05 22:04:36 +00:00
Harald Albers
8242fe1fcc
Add bash completion for `docker run|create --pull`
...
Signed-off-by: Harald Albers <github@albersweb.de>
2021-01-05 21:43:53 +00:00
Christopher Svensson
b04241d95a
Removed format flag for inspect
...
Signed-off-by: Christopher Svensson <stoffus@stoffus.com>
2021-01-05 08:29:26 +01:00
Christopher Svensson
584c08e1fe
Added zsh completion for docker context subcommands
...
Signed-off-by: Christopher Svensson <stoffus@stoffus.com>
2021-01-05 08:29:26 +01:00
Harald Albers
a4e86b5433
Add bash completion for jobs
...
Signed-off-by: Harald Albers <github@albersweb.de>
2020-12-15 21:00:36 +00:00
Sebastiaan van Stijn
325036df3e
Merge pull request #2831 from tianon/containerd
...
Add "--containerd-namespace" daemon flags in completion and docs
2020-11-10 23:57:02 +01:00