Browse Source

Merge pull request #22219 from leonhartX/zsh-completion-add-disable-content-trust

Add zsh completion for 'docker {build,create,run} --disable-content-trust'
Vincent Demeester 9 years ago
parent
commit
c931a7c576
1 changed files with 1 additions and 0 deletions
  1. 1 0
      contrib/completion/zsh/_docker

+ 1 - 0
contrib/completion/zsh/_docker

@@ -589,6 +589,7 @@ __docker_subcommand() {
     opts_build_create_run=(
     opts_build_create_run=(
         "($help)--cgroup-parent=[Parent cgroup for the container]:cgroup: "
         "($help)--cgroup-parent=[Parent cgroup for the container]:cgroup: "
         "($help)--isolation=[Container isolation technology]:isolation:(default hyperv process)"
         "($help)--isolation=[Container isolation technology]:isolation:(default hyperv process)"
+        "($help)--disable-content-trust[Skip image verification]"
         "($help)*--shm-size=[Size of '/dev/shm' (format is '<number><unit>')]:shm size: "
         "($help)*--shm-size=[Size of '/dev/shm' (format is '<number><unit>')]:shm size: "
         "($help)*--ulimit=[ulimit options]:ulimit: "
         "($help)*--ulimit=[ulimit options]:ulimit: "
         "($help)--userns=[Container user namespace]:user namespace:(host)"
         "($help)--userns=[Container user namespace]:user namespace:(host)"