minikube: Error creating host:: sudo systemctl -f restart docker: Process exited with status 1
Environment:
Minikube version: minikube version: v0.22.1
- OS: Windows 10 64-bit (15063.540) with latest updates
- VM Driver: virtualbox
- ISO version: v0.23.3
- Install tools:
- Others:
What happened:
I ran minikube start and it produced a series of errors:
$ minikube start
Starting local Kubernetes v1.7.5 cluster...
Starting VM...
Downloading Minikube ISO
106.36 MB / 106.36 MB [============================================] 100.00% 0s
E0912 11:51:06.694413 14284 start.go:143] Error starting host: Error creating host: Error executing step: Provisioning VM.
: Temporary Error: ssh command error:
command : sudo systemctl -f restart docker
err : Process exited with status 1
output : Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
Temporary Error: ssh command error:
command : sudo systemctl -f restart docker
err : Process exited with status 1
output : Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
Temporary Error: ssh command error:
command : sudo systemctl -f restart docker
err : Process exited with status 1
output : Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
Temporary Error: ssh command error:
command : sudo systemctl -f restart docker
err : Process exited with status 1
output : Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
Temporary Error: ssh command error:
command : sudo systemctl -f restart docker
err : Process exited with status 1
output : Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
.
Retrying.
E0912 11:51:06.698319 14284 start.go:149] Error starting host: Error creating host: Error executing step: Provisioning VM.
: Temporary Error: ssh command error:
command : sudo systemctl -f restart docker
err : Process exited with status 1
output : Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
Temporary Error: ssh command error:
command : sudo systemctl -f restart docker
err : Process exited with status 1
output : Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
Temporary Error: ssh command error:
command : sudo systemctl -f restart docker
err : Process exited with status 1
output : Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
Temporary Error: ssh command error:
command : sudo systemctl -f restart docker
err : Process exited with status 1
output : Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
Temporary Error: ssh command error:
command : sudo systemctl -f restart docker
err : Process exited with status 1
output : Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
================================================================================
An error has occurred. Would you like to opt in to sending anonymized crash
information to minikube to help prevent future errors?
To opt out of these messages, run the command:
minikube config set WantReportErrorPrompt false
================================================================================
Please enter your response [Y/n]:
I then ran minikube delete and minikube start again:
$ minikube delete
Deleting local Kubernetes cluster...
Machine deleted.
Error deleting machine profile config
$ minikube start
Starting local Kubernetes v1.7.5 cluster...
Starting VM...
E0912 12:23:24.297049 13440 start.go:143] Error starting host: Error creating host: Error executing step: Provisioning VM.
: Temporary Error: ssh command error:
command : sudo systemctl -f restart docker
err : Process exited with status 1
output : Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
Temporary Error: ssh command error:
command : sudo systemctl -f restart docker
err : Process exited with status 1
output : Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
Temporary Error: ssh command error:
command : sudo systemctl -f restart docker
err : Process exited with status 1
output : Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
Temporary Error: ssh command error:
command : sudo systemctl -f restart docker
err : Process exited with status 1
output : Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
Temporary Error: ssh command error:
command : sudo systemctl -f restart docker
err : Process exited with status 1
output : Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
.
Retrying.
E0912 12:23:24.305838 13440 start.go:149] Error starting host: Error creating host: Error executing step: Provisioning VM.
: Temporary Error: ssh command error:
command : sudo systemctl -f restart docker
err : Process exited with status 1
output : Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
Temporary Error: ssh command error:
command : sudo systemctl -f restart docker
err : Process exited with status 1
output : Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
Temporary Error: ssh command error:
command : sudo systemctl -f restart docker
err : Process exited with status 1
output : Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
Temporary Error: ssh command error:
command : sudo systemctl -f restart docker
err : Process exited with status 1
output : Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
Temporary Error: ssh command error:
command : sudo systemctl -f restart docker
err : Process exited with status 1
output : Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
================================================================================
An error has occurred. Would you like to opt in to sending anonymized crash
information to minikube to help prevent future errors?
To opt out of these messages, run the command:
minikube config set WantReportErrorPrompt false
================================================================================
Please enter your response [Y/n]:
What you expected to happen: Minikube should start a kubernetes cluster correctly
How to reproduce it (as minimally and precisely as possible):
Run minikube start.
Output of minikube logs (if applicable):
$ minikube logs
F0912 12:25:08.382533 12512 logs.go:50] Error getting cluster bootstrapper: getting localkube bootstrapper: getting ssh client: Error dialing tcp via ssh client: dial tcp 127.0.0.1:22: connectex: No connection could be made because the target machine actively refused it.
Anything else do we need to know:
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 27 (6 by maintainers)
This should be fixed by #1959
Similar with mac OSX high sierra.
minikube deletereturns…and then starting minikube results in…
Check if docker service is running properly. I ran in same issue. Following were the steps followed
docker-machine create -d virtualbox defaultdocker-machine stop defaultdocker-machine rm defaultminikube start --vm-driver=virtualboxit should probably work .Same problem using a mac… update:nm … just had to do minikube delete for my problem
I’m getting the same error, the log from
systemctl status docker.serviceisWhen I ssh into minikube I can’t see anything in
/etc/dockerUpdate: I think that is a configuration problem on Windows10 using HyperV, I have my problem solved following this article: (https://medium.com/@JockDaRock/minikube-on-windows-10-with-hyper-v-6ef0f4dc158c)
minikube -v10 starti used this ,fix it, hope help you, my friend