diff --git a/runtime/docker/docker.go b/runtime/docker/docker.go index 15ccaddf6..3e450b2b4 100644 --- a/runtime/docker/docker.go +++ b/runtime/docker/docker.go @@ -320,7 +320,13 @@ func getMgmtBridgeIPs(bridgeName string, netResource networkapi.Inspect) (string } } } - return v4, v6, err + + // didnt find any gateways, fallthrough to returning the error + if v4 == "" && v6 == "" { + return "", "", err + } + + return v4, v6, nil } // postCreateNetActions performs additional actions after the network has been created.