Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
10538d11
Unverified
Commit
10538d11
authored
May 23, 2020
by
Vinícius Picossi Teruel
Committed by
GitHub
May 23, 2020
Browse files
docker: update to latest upstream completion (92dc906) (#8835)
parent
e675c821
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/docker/_docker
View file @
10538d11
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
# - Felix Riedel
# - Felix Riedel
# - Steve Durrheimer
# - Steve Durrheimer
# - Vincent Bernat
# - Vincent Bernat
# - Rohan Verma
#
#
# license:
# license:
#
#
...
@@ -604,6 +605,7 @@ __docker_container_subcommand() {
...
@@ -604,6 +605,7 @@ __docker_container_subcommand() {
"(
$help
)*--blkio-weight-device=[Block IO (relative device weight)]:device:Block IO weight: "
"(
$help
)*--blkio-weight-device=[Block IO (relative device weight)]:device:Block IO weight: "
"(
$help
)*--cap-add=[Add Linux capabilities]:capability: "
"(
$help
)*--cap-add=[Add Linux capabilities]:capability: "
"(
$help
)*--cap-drop=[Drop Linux capabilities]:capability: "
"(
$help
)*--cap-drop=[Drop Linux capabilities]:capability: "
"(
$help
)--cgroupns=[Cgroup namespace mode to use]:cgroup namespace mode: "
"(
$help
)--cgroup-parent=[Parent cgroup for the container]:cgroup: "
"(
$help
)--cgroup-parent=[Parent cgroup for the container]:cgroup: "
"(
$help
)--cidfile=[Write the container ID to the file]:CID file:_files"
"(
$help
)--cidfile=[Write the container ID to the file]:CID file:_files"
"(
$help
)--cpus=[Number of CPUs (default 0.000)]:cpus: "
"(
$help
)--cpus=[Number of CPUs (default 0.000)]:cpus: "
...
@@ -676,6 +678,7 @@ __docker_container_subcommand() {
...
@@ -676,6 +678,7 @@ __docker_container_subcommand() {
"(
$help
-m --memory)"
{
-m
=
,--memory
=}
"[Memory limit]:Memory limit: "
"(
$help
-m --memory)"
{
-m
=
,--memory
=}
"[Memory limit]:Memory limit: "
"(
$help
)--memory-reservation=[Memory soft limit]:Memory limit: "
"(
$help
)--memory-reservation=[Memory soft limit]:Memory limit: "
"(
$help
)--memory-swap=[Total memory limit with swap]:Memory limit: "
"(
$help
)--memory-swap=[Total memory limit with swap]:Memory limit: "
"(
$help
)--pids-limit[Tune container pids limit (set -1 for unlimited)]"
"(
$help
)--restart=[Restart policy]:restart policy:(no on-failure always unless-stopped)"
"(
$help
)--restart=[Restart policy]:restart policy:(no on-failure always unless-stopped)"
)
)
opts_help
=(
"(: -)--help[Print usage]"
)
opts_help
=(
"(: -)--help[Print usage]"
)
...
@@ -801,7 +804,7 @@ __docker_container_subcommand() {
...
@@ -801,7 +804,7 @@ __docker_container_subcommand() {
"(
$help
-l --latest)"
{
-l
,--latest
}
"[Show only the latest created container]"
\
"(
$help
-l --latest)"
{
-l
,--latest
}
"[Show only the latest created container]"
\
"(
$help
-n --last)"
{
-n
=
,--last
=}
"[Show n last created containers (includes all states)]:n:(1 5 10 25 50)"
\
"(
$help
-n --last)"
{
-n
=
,--last
=}
"[Show n last created containers (includes all states)]:n:(1 5 10 25 50)"
\
"(
$help
)--no-trunc[Do not truncate output]"
\
"(
$help
)--no-trunc[Do not truncate output]"
\
"(
$help
-q --quiet)"
{
-q
,--quiet
}
"[Only show
numeric
IDs]"
\
"(
$help
-q --quiet)"
{
-q
,--quiet
}
"[Only show
container
IDs]"
\
"(
$help
-s --size)"
{
-s
,--size
}
"[Display total file sizes]"
\
"(
$help
-s --size)"
{
-s
,--size
}
"[Display total file sizes]"
\
"(
$help
)--since=[Show only containers created since...]:containers:__docker_complete_containers"
&&
ret
=
0
"(
$help
)--since=[Show only containers created since...]:containers:__docker_complete_containers"
&&
ret
=
0
;;
;;
...
@@ -832,7 +835,7 @@ __docker_container_subcommand() {
...
@@ -832,7 +835,7 @@ __docker_container_subcommand() {
_arguments
$(
__docker_arguments
)
\
_arguments
$(
__docker_arguments
)
\
$opts_help
\
$opts_help
\
"(
$help
-t --time)"
{
-t
=
,--time
=}
"[Number of seconds to try to stop for before killing the container]:seconds to before killing:(1 5 10 30 60)"
\
"(
$help
-t --time)"
{
-t
=
,--time
=}
"[Number of seconds to try to stop for before killing the container]:seconds to before killing:(1 5 10 30 60)"
\
"(
$help
-)*:containers:__docker_complete_containers
_ids
"
&&
ret
=
0
"(
$help
-)*:containers:__docker_complete_containers"
&&
ret
=
0
;;
;;
(
rm
)
(
rm
)
local
state
local
state
...
@@ -1024,7 +1027,7 @@ __docker_image_subcommand() {
...
@@ -1024,7 +1027,7 @@ __docker_image_subcommand() {
$opts_help
\
$opts_help
\
"(
$help
-H --human)"
{
-H
,--human
}
"[Print sizes and dates in human readable format]"
\
"(
$help
-H --human)"
{
-H
,--human
}
"[Print sizes and dates in human readable format]"
\
"(
$help
)--no-trunc[Do not truncate output]"
\
"(
$help
)--no-trunc[Do not truncate output]"
\
"(
$help
-q --quiet)"
{
-q
,--quiet
}
"[Only show
numeric
IDs]"
\
"(
$help
-q --quiet)"
{
-q
,--quiet
}
"[Only show
image
IDs]"
\
"(
$help
-)*: :__docker_complete_images"
&&
ret
=
0
"(
$help
-)*: :__docker_complete_images"
&&
ret
=
0
;;
;;
(
import
)
(
import
)
...
@@ -1056,7 +1059,7 @@ __docker_image_subcommand() {
...
@@ -1056,7 +1059,7 @@ __docker_image_subcommand() {
"(
$help
)*"
{
-f
=
,--filter
=}
"[Filter values]:filter:__docker_complete_images_filters"
\
"(
$help
)*"
{
-f
=
,--filter
=}
"[Filter values]:filter:__docker_complete_images_filters"
\
"(
$help
)--format=[Pretty-print images using a Go template]:template: "
\
"(
$help
)--format=[Pretty-print images using a Go template]:template: "
\
"(
$help
)--no-trunc[Do not truncate output]"
\
"(
$help
)--no-trunc[Do not truncate output]"
\
"(
$help
-q --quiet)"
{
-q
,--quiet
}
"[Only show
numeric
IDs]"
\
"(
$help
-q --quiet)"
{
-q
,--quiet
}
"[Only show
image
IDs]"
\
"(
$help
-): :__docker_complete_repositories"
&&
ret
=
0
"(
$help
-): :__docker_complete_repositories"
&&
ret
=
0
;;
;;
(
prune
)
(
prune
)
...
@@ -1076,6 +1079,7 @@ __docker_image_subcommand() {
...
@@ -1076,6 +1079,7 @@ __docker_image_subcommand() {
(
push
)
(
push
)
_arguments
$(
__docker_arguments
)
\
_arguments
$(
__docker_arguments
)
\
$opts_help
\
$opts_help
\
"(
$help
-a --all-tags)"
{
-a
,--all-tags
}
"[Push all tagged images in the repository]"
\
"(
$help
)--disable-content-trust[Skip image signing]"
\
"(
$help
)--disable-content-trust[Skip image signing]"
\
"(
$help
-): :__docker_complete_images"
&&
ret
=
0
"(
$help
-): :__docker_complete_images"
&&
ret
=
0
;;
;;
...
@@ -1286,7 +1290,7 @@ __docker_network_subcommand() {
...
@@ -1286,7 +1290,7 @@ __docker_network_subcommand() {
"(
$help
)--no-trunc[Do not truncate the output]"
\
"(
$help
)--no-trunc[Do not truncate the output]"
\
"(
$help
)*"
{
-f
=
,--filter
=}
"[Provide filter values]:filter:__docker_network_complete_ls_filters"
\
"(
$help
)*"
{
-f
=
,--filter
=}
"[Provide filter values]:filter:__docker_network_complete_ls_filters"
\
"(
$help
)--format=[Pretty-print networks using a Go template]:template: "
\
"(
$help
)--format=[Pretty-print networks using a Go template]:template: "
\
"(
$help
-q --quiet)"
{
-q
,--quiet
}
"[Only display n
umeric
IDs]"
&&
ret
=
0
"(
$help
-q --quiet)"
{
-q
,--quiet
}
"[Only display n
etwork
IDs]"
&&
ret
=
0
;;
;;
(
prune
)
(
prune
)
_arguments
$(
__docker_arguments
)
\
_arguments
$(
__docker_arguments
)
\
...
@@ -2214,7 +2218,6 @@ __docker_stack_subcommand() {
...
@@ -2214,7 +2218,6 @@ __docker_stack_subcommand() {
(
deploy|up
)
(
deploy|up
)
_arguments
$(
__docker_arguments
)
\
_arguments
$(
__docker_arguments
)
\
$opts_help
\
$opts_help
\
"(
$help
)--bundle-file=[Path to a Distributed Application Bundle file]:dab:_files -g
\"
*.dab
\"
"
\
"(
$help
-c --compose-file)"
{
-c
=
,--compose-file
=}
"[Path to a Compose file, or '-' to read from stdin]:compose file:_files -g
\"
*.(yml|yaml)
\"
"
\
"(
$help
-c --compose-file)"
{
-c
=
,--compose-file
=}
"[Path to a Compose file, or '-' to read from stdin]:compose file:_files -g
\"
*.(yml|yaml)
\"
"
\
"(
$help
)--with-registry-auth[Send registry authentication details to Swarm agents]"
\
"(
$help
)--with-registry-auth[Send registry authentication details to Swarm agents]"
\
"(
$help
-):stack:__docker_complete_stacks"
&&
ret
=
0
"(
$help
-):stack:__docker_complete_stacks"
&&
ret
=
0
...
@@ -2668,6 +2671,7 @@ __docker_subcommand() {
...
@@ -2668,6 +2671,7 @@ __docker_subcommand() {
"(
$help
)*--log-opt=[Default log driver options for containers]:log driver options:__docker_complete_log_options"
\
"(
$help
)*--log-opt=[Default log driver options for containers]:log driver options:__docker_complete_log_options"
\
"(
$help
)--max-concurrent-downloads[Set the max concurrent downloads for each pull]"
\
"(
$help
)--max-concurrent-downloads[Set the max concurrent downloads for each pull]"
\
"(
$help
)--max-concurrent-uploads[Set the max concurrent uploads for each push]"
\
"(
$help
)--max-concurrent-uploads[Set the max concurrent uploads for each push]"
\
"(
$help
)--max-download-attempts[Set the max download attempts for each pull]"
\
"(
$help
)--mtu=[Network MTU]:mtu:(0 576 1420 1500 9000)"
\
"(
$help
)--mtu=[Network MTU]:mtu:(0 576 1420 1500 9000)"
\
"(
$help
)--oom-score-adjust=[Set the oom_score_adj for the daemon]:oom-score:(-500)"
\
"(
$help
)--oom-score-adjust=[Set the oom_score_adj for the daemon]:oom-score:(-500)"
\
"(
$help
-p --pidfile)"
{
-p
=
,--pidfile
=}
"[Path to use for daemon PID file]:PID file:_files"
\
"(
$help
-p --pidfile)"
{
-p
=
,--pidfile
=}
"[Path to use for daemon PID file]:PID file:_files"
\
...
@@ -2783,7 +2787,7 @@ __docker_subcommand() {
...
@@ -2783,7 +2787,7 @@ __docker_subcommand() {
$opts_help
\
$opts_help
\
"(
$help
-p --password)"
{
-p
=
,--password
=}
"[Password]:password: "
\
"(
$help
-p --password)"
{
-p
=
,--password
=}
"[Password]:password: "
\
"(
$help
)--password-stdin[Read password from stdin]"
\
"(
$help
)--password-stdin[Read password from stdin]"
\
"(
$help
-u --user)"
{
-u
=
,--user
=}
"[Username]:username: "
\
"(
$help
-u --user
name
)"
{
-u
=
,--user
name
=}
"[Username]:username: "
\
"(
$help
-)1:server: "
&&
ret
=
0
"(
$help
-)1:server: "
&&
ret
=
0
;;
;;
(
logout
)
(
logout
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment