Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker driver: improve error message when docker is not running #7457

Closed
medyagh opened this issue Apr 6, 2020 · 0 comments Β· Fixed by #7498
Closed

docker driver: improve error message when docker is not running #7457

medyagh opened this issue Apr 6, 2020 · 0 comments Β· Fixed by #7498
Labels
co/docker-driver Issues related to kubernetes in container

Comments

@medyagh
Copy link
Member

medyagh commented Apr 6, 2020

when docker is not running at all :


$ ./out/minikube start --vm-driver=docker
πŸ˜„  minikube v1.9.2 on Darwin 10.15.3
✨  Using the docker driver based on user configuration

❗  'docker' driver reported an issue: exit status 1
πŸ’‘  Suggestion: Docker is not running or is responding too slow. Try: restarting docker desktop.

πŸ‘  Starting control plane node m01 in cluster minikube
🚜  Pulling base image ...
E0406 14:13:08.940391   44995 cache.go:114] Error downloading kic artifacts:  error loading image: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
πŸ”₯  Creating Kubernetes in docker container with (CPUs=2) (0 available), Memory=4000MB (0MB available) ...
🀦  StartHost failed, but will try again: creating host: create: creating: create kic node: creating volume for minikube container: output Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
: exit status 1
🀷  docker "minikube" container is missing, will recreate.

πŸ”₯  Creating Kubernetes in docker container with (CPUs=2) (0 available), Memory=4000MB (0MB available) ...

πŸ’£  Failed to start docker container. "minikube start" may fix it.: recreate: creating host: create: creating: create kic node: creating volume for minikube container: output Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
: exit status 1

😿  minikube is exiting due to an error. If the above message is not useful, open an issue:
πŸ‘‰  https://github.com/kubernetes/minikube/issues/new/choose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/docker-driver Issues related to kubernetes in container
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant