瀏覽代碼

Add zsh completion for 'docker {create,run} --userns'

Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Steve Durrheimer 9 年之前
父節點
當前提交
39d7ff233b
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      contrib/completion/zsh/_docker

+ 1 - 0
contrib/completion/zsh/_docker

@@ -539,6 +539,7 @@ __docker_subcommand() {
         "($help)--isolation=[Container isolation technology]:isolation:(default hyperv process)"
         "($help)--isolation=[Container isolation technology]:isolation:(default hyperv process)"
         "($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)"
     )
     )
     opts_build_create_run_update=(
     opts_build_create_run_update=(
         "($help)--cpu-shares=[CPU shares (relative weight)]:CPU shares:(0 10 100 200 500 800 1000)"
         "($help)--cpu-shares=[CPU shares (relative weight)]:CPU shares:(0 10 100 200 500 800 1000)"