Skip to content

Commit

Permalink
Enabled remote to support network create -d
Browse files Browse the repository at this point in the history
docker network create -d needs a remote
initializer, which was removed accidentally.

this fixes all the DockerNetworkSuite integration
tests suite.

Signed-off-by: Yossi Eliaz <yossi@resin.io>
  • Loading branch information
Yossi Eliaz authored and robertgzr committed Feb 10, 2020
1 parent d64da98 commit c20577a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers_linux.go
Expand Up @@ -4,13 +4,15 @@ import (
"github.com/docker/libnetwork/drivers/bridge"
"github.com/docker/libnetwork/drivers/host"
"github.com/docker/libnetwork/drivers/null"
"github.com/docker/libnetwork/drivers/remote"
)

func getInitializers(experimental bool) []initializer {
in := []initializer{
{bridge.Init, "bridge"},
{host.Init, "host"},
{null.Init, "null"},
{remote.Init, "remote"},
}
return in
}

0 comments on commit c20577a

Please sign in to comment.