Merge pull request #19982 from tianon/seccomp-completion

Add some basic bash completion for seccomp values
Upstream-commit: ea4086ea91798d8b860d90eaf32ef216b05f4e7c
Component: engine
This commit is contained in:
Jess Frazelle
2016-02-03 16:15:12 -08:00

View File

@ -1768,6 +1768,11 @@ _docker_run() {
__docker_nospace
fi
;;
seccomp:*)
local cur=${cur##*:}
_filedir
COMPREPLY+=( $( compgen -W "unconfined" -- "$cur" ) )
;;
*)
COMPREPLY=( $( compgen -W "label apparmor seccomp" -S ":" -- "$cur") )
__docker_nospace