diff --git a/cmd/minikube/cmd/dashboard.go b/cmd/minikube/cmd/dashboard.go index 86bd0f5a9fa2..52753fb36f7b 100644 --- a/cmd/minikube/cmd/dashboard.go +++ b/cmd/minikube/cmd/dashboard.go @@ -49,7 +49,7 @@ var ( dashboardExposedPort int // Matches: "127.0.0.1:8001" or "127.0.0.1 40012" etc. // TODO(tstromberg): Get kubectl to implement a stable supported output format. - hostPortRe = regexp.MustCompile(`127.0.0.1(:| )\d{4,}`) + hostPortRe = regexp.MustCompile(`127\.0\.0\.1(:| )\d{4,}`) ) // dashboardCmd represents the dashboard command