Browse code

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

Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
(cherry picked from commit 39d7ff233bbc2f333cce30124bfd6f52bba1ae2a)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Steve Durrheimer authored on 2016/03/28 22:39:27
Showing 1 changed files
... ...
@@ -539,6 +539,7 @@ __docker_subcommand() {
539 539
         "($help)--isolation=[Container isolation technology]:isolation:(default hyperv process)"
540 540
         "($help)*--shm-size=[Size of '/dev/shm' (format is '<number><unit>')]:shm size: "
541 541
         "($help)*--ulimit=[ulimit options]:ulimit: "
542
+        "($help)--userns=[Container user namespace]:user namespace:(host)"
542 543
     )
543 544
     opts_build_create_run_update=(
544 545
         "($help)--cpu-shares=[CPU shares (relative weight)]:CPU shares:(0 10 100 200 500 800 1000)"