1
0
mirror of https://github.com/docker/cli.git synced 2026-01-18 08:21:31 +03:00

bash completion for docker {run,create} --userns

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 62475684b9cb09ba5cc3f2dd3b3ad88031b391ba
Component: engine
This commit is contained in:
Harald Albers
2016-03-28 06:11:52 -07:00
parent d6e2737baa
commit c8b6e46487

View File

@@ -1668,6 +1668,7 @@ _docker_run() {
--tmpfs
--ulimit
--user -u
--userns
--uts
--volume-driver
--volumes-from
@@ -1827,6 +1828,10 @@ _docker_run() {
__docker_complete_user_group
return
;;
--userns)
COMPREPLY=( $( compgen -W "host" -- "$cur" ) )
return
;;
--volume-driver)
__docker_complete_plugins Volume
return