1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Register remote network driver on Windows.

Without this change, specifying a remote network driver on Windows results in "could not resolve driver X in registry" error.

Signed-off-by: Michal Kostrzewa <kostrzewa.michal@o2.pl>
This commit is contained in:
m-kostrzewa 2016-11-02 16:18:12 +01:00 committed by Michal Kostrzewa
parent 734f4ec86d
commit 4ca7b01a5c

View file

@ -2,6 +2,7 @@ package libnetwork
import (
"github.com/docker/libnetwork/drivers/null"
"github.com/docker/libnetwork/drivers/remote"
"github.com/docker/libnetwork/drivers/windows"
"github.com/docker/libnetwork/drivers/windows/overlay"
)
@ -10,6 +11,7 @@ func getInitializers() []initializer {
return []initializer{
{null.Init, "null"},
{overlay.Init, "overlay"},
{remote.Init, "remote"},
{windows.GetInit("transparent"), "transparent"},
{windows.GetInit("l2bridge"), "l2bridge"},
{windows.GetInit("l2tunnel"), "l2tunnel"},