1
0
mirror of https://github.com/docker/cli.git synced 2026-01-13 18:22:35 +03:00

Add manual support for macvlan networks to bash completion

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers
2016-07-20 13:13:14 -07:00
committed by Tibor Vass
parent 99bf996fdf
commit 6218da47b1

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 / }