Add manual support for macvlan networks to bash completion

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 6218da47b1
Component: cli
This commit is contained in:
Harald Albers
2016-07-20 13:13:14 -07:00
committed by Tibor Vass
parent f68a53fc11
commit 0ef7be695f

View File

@ -1445,7 +1445,7 @@ _docker_network_create() {
return
;;
--driver|-d)
local plugins=" $(__docker_plugins Network) "
local plugins="$(__docker_plugins Network) macvlan"
# remove drivers that allow one instance only
plugins=${plugins/ host / }
plugins=${plugins/ null / }