mirror of https://github.com/docker/docs.git
Add manual support for macvlan networks to bash completion
Signed-off-by: Harald Albers <github@albersweb.de> (cherry picked from commit 6c98d5bfaccda4b211e537f5072767160a20d497) Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
parent
7876fa1c2d
commit
8e0e7644d8
|
|
@ -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 / }
|
||||
|
|
|
|||
Loading…
Reference in New Issue