bash completion for `docker {run,create} --volume-driver`

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers 2015-11-15 09:35:40 -08:00 committed by Tibor Vass
parent 4978171903
commit d998542977
1 changed files with 5 additions and 0 deletions

View File

@ -1397,6 +1397,7 @@ _docker_run() {
--ulimit
--user -u
--uts
--volume-driver
--volumes-from
--volume -v
--workdir -w
@ -1541,6 +1542,10 @@ _docker_run() {
esac
return
;;
--volume-driver)
COMPREPLY=( $( compgen -W "local" -- "$cur" ) )
return
;;
--volumes-from)
__docker_containers_all
return