mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #28380 from sdurrheimer/zsh-completion-build-network
Add zsh completion for 'docker image build --network'
This commit is contained in:
commit
35ee642feb
1 changed files with 1 additions and 0 deletions
|
@ -918,6 +918,7 @@ __docker_image_subcommand() {
|
||||||
"($help)*--label=[Set metadata for an image]:label=value: " \
|
"($help)*--label=[Set metadata for an image]:label=value: " \
|
||||||
"($help -m --memory)"{-m=,--memory=}"[Memory limit]:Memory limit: " \
|
"($help -m --memory)"{-m=,--memory=}"[Memory limit]:Memory limit: " \
|
||||||
"($help)--memory-swap=[Total memory limit with swap]:Memory limit: " \
|
"($help)--memory-swap=[Total memory limit with swap]:Memory limit: " \
|
||||||
|
"($help)--network=[Connect a container to a network]:network mode:(bridge none container host)"
|
||||||
"($help)--no-cache[Do not use cache when building the image]" \
|
"($help)--no-cache[Do not use cache when building the image]" \
|
||||||
"($help)--pull[Attempt to pull a newer version of the image]" \
|
"($help)--pull[Attempt to pull a newer version of the image]" \
|
||||||
"($help -q --quiet)"{-q,--quiet}"[Suppress verbose build output]" \
|
"($help -q --quiet)"{-q,--quiet}"[Suppress verbose build output]" \
|
||||||
|
|
Loading…
Reference in a new issue