990104730c442fa7813e0d2e2cfef79f6c5723fb

Author
Patrick Artounian <partounian@users.noreply.github.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Update docker plugin from upstream docker/cli (#7470)

Diff

 1diff --git a/plugins/docker/_docker b/plugins/docker/_docker
 2index 31b83c777c601622b1911dfa2c0bc19c20ac52af..54b5e59c5e989a23ce023c3cc7d1b963dfb3fb14 100644
 3--- a/plugins/docker/_docker
 4+++ b/plugins/docker/_docker
 5@@ -1,6 +1,6 @@
 6 #compdef docker dockerd
 7 #
 8-# zsh completion for docker (https://docker.com)
 9+# zsh completion for docker (http://docker.com)
10 #
11 # version:  0.3.0
12 # github:   https://github.com/felixr/docker-zsh-completion
13@@ -617,6 +617,7 @@ __docker_container_subcommand() {
14         "($help)*--dns=[Custom DNS servers]:DNS server: "
15         "($help)*--dns-option=[Custom DNS options]:DNS option: "
16         "($help)*--dns-search=[Custom DNS search domains]:DNS domains: "
17+        "($help)*--domainname=[Container NIS domain name]:domainname:_hosts"
18         "($help)*"{-e=,--env=}"[Environment variables]:environment variable: "
19         "($help)--entrypoint=[Overwrite the default entrypoint of the image]:entry point: "
20         "($help)*--env-file=[Read environment variables from a file]:environment file:_files"
21@@ -2214,7 +2215,7 @@ __docker_stack_subcommand() {
22             _arguments $(__docker_arguments) \
23                 $opts_help \
24                 "($help)--bundle-file=[Path to a Distributed Application Bundle file]:dab:_files -g \"*.dab\"" \
25-                "($help -c --compose-file)"{-c=,--compose-file=}"[Path to a Compose file]:compose file:_files -g \"*.(yml|yaml)\"" \
26+                "($help -c --compose-file)"{-c=,--compose-file=}"[Path to a Compose file, or '-' to read from stdin]:compose file:_files -g \"*.(yml|yaml)\"" \
27                 "($help)--with-registry-auth[Send registry authentication details to Swarm agents]" \
28                 "($help -):stack:__docker_complete_stacks" && ret=0
29             ;;
30@@ -2285,6 +2286,9 @@ __docker_swarm_subcommand() {
31                 $opts_help \
32                 "($help)--advertise-addr=[Advertised address]:ip\:port: " \
33                 "($help)--data-path-addr=[Data path IP or interface]:ip " \
34+                "($help)--data-path-port=[Data Path Port]:port " \
35+                "($help)--default-addr-pool=[Default address pool]" \
36+                "($help)--default-addr-pool-mask-length=[Default address pool subnet mask length]" \
37                 "($help)--autolock[Enable manager autolocking]" \
38                 "($help)--availability=[Availability of the node]:availability:(active drain pause)" \
39                 "($help)--cert-expiry=[Validity period for node certificates]:duration: " \