mirror of
https://github.com/docker/cli.git
synced 2026-01-18 08:21:31 +03:00
bash completion for docker {run,create} --volume-driver
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
committed by
Tibor Vass
parent
4978171903
commit
d998542977
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user