From 4a321a6b1e1543e511cf8e5ae9ccb81849b0ccaf Mon Sep 17 00:00:00 2001 From: Medya Gh Date: Wed, 1 Jul 2020 13:26:56 -0700 Subject: [PATCH 1/3] add solution message when docker container create is stuck --- pkg/minikube/problem/err_map.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/minikube/problem/err_map.go b/pkg/minikube/problem/err_map.go index 5e56e4f25c4f..4209fc00f4b6 100644 --- a/pkg/minikube/problem/err_map.go +++ b/pkg/minikube/problem/err_map.go @@ -91,6 +91,11 @@ var vmProblems = map[string]match{ Advice: "minikube is not yet compatible with ChromeOS", Issues: []int{6411}, }, + "DOCKER_PRE_STUCK_CONTAINER": { + Regexp: re(`executing "" at `), + Advice: "Ensure docker is running and then run: 'minikube delete' and then 'minikube start' again", + Issues: []int{8163}, + }, // Hyperkit "HYPERKIT_NO_IP": { Regexp: re(`IP address never found in dhcp leases file Temporary Error: Could not find an IP address for`), From 881ed1df1c7f352ea576602bf6b72fc78418c51e Mon Sep 17 00:00:00 2001 From: Medya Gh Date: Wed, 1 Jul 2020 13:28:52 -0700 Subject: [PATCH 2/3] add link --- pkg/minikube/problem/err_map.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/minikube/problem/err_map.go b/pkg/minikube/problem/err_map.go index 4209fc00f4b6..ac92843082d7 100644 --- a/pkg/minikube/problem/err_map.go +++ b/pkg/minikube/problem/err_map.go @@ -94,6 +94,7 @@ var vmProblems = map[string]match{ "DOCKER_PRE_STUCK_CONTAINER": { Regexp: re(`executing "" at `), Advice: "Ensure docker is running and then run: 'minikube delete' and then 'minikube start' again", + URL: "https://github.com/kubernetes/minikube/issues/8163#issuecomment-652627436", Issues: []int{8163}, }, // Hyperkit From fd2912340a3035afa58e5568f6181d5d8acee58e Mon Sep 17 00:00:00 2001 From: Medya Gh Date: Wed, 1 Jul 2020 13:33:51 -0700 Subject: [PATCH 3/3] improve wording --- pkg/minikube/problem/err_map.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/minikube/problem/err_map.go b/pkg/minikube/problem/err_map.go index ac92843082d7..fab359ce4bb8 100644 --- a/pkg/minikube/problem/err_map.go +++ b/pkg/minikube/problem/err_map.go @@ -91,9 +91,9 @@ var vmProblems = map[string]match{ Advice: "minikube is not yet compatible with ChromeOS", Issues: []int{6411}, }, - "DOCKER_PRE_STUCK_CONTAINER": { + "DOCKER_PROVISION_STUCK_CONTAINER": { Regexp: re(`executing "" at `), - Advice: "Ensure docker is running and then run: 'minikube delete' and then 'minikube start' again", + Advice: "Restart Docker, Ensure docker is running and then run: 'minikube delete' and then 'minikube start' again", URL: "https://github.com/kubernetes/minikube/issues/8163#issuecomment-652627436", Issues: []int{8163}, },