From d998542977884100fab42e9f4ecda2c260b3ba1e Mon Sep 17 00:00:00 2001 From: Harald Albers Date: Sun, 15 Nov 2015 09:35:40 -0800 Subject: [PATCH] bash completion for `docker {run,create} --volume-driver` Signed-off-by: Harald Albers --- contrib/completion/bash/docker | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/contrib/completion/bash/docker b/contrib/completion/bash/docker index 2fbd5a82cf..0659c33fb9 100644 --- a/contrib/completion/bash/docker +++ b/contrib/completion/bash/docker @@ -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