-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Failed to enable container runtime: docker restart failed (insecure registry ... invalid host) #3800
Comments
The command is run over ssh, to the virtualbox VM started. Not on the host (the Mac). If you could run
According to your output it looks like you are trying to upgrade an old VM, maybe that is it. |
Hi @afbjorklund, thanks for the quick response!
I ran I will run those if I have a free minute and post the output! |
Here are the outputs:
And:
I know it's a bit verbose, but I have no idea which parts are the relevant ones. |
This looks odd: |
Yeah, I'm deeply suspect about that particular error. Docker inside the VM appears to be misconfigured. Where did that hostname come from? NOTE: You may setup a new VM by using |
Something seems gone wrong with the delete (said it had been done before each attempt) |
Yes, that must've been it. That hostname definitely came from my side (I was experimenting with insecure registries). I have no idea how that got stuck in there. I ended up deleting everything and it works now. Thanks for the quick help, after all the attempts I made I think I got blind for that error (which objectively was pretty obvious). I will close this issue. Thanks again! |
same error occurred to me. |
@arunsingh I had the same error, but mine was due to running an older version of minikube and not killing the old VM that was running. Running |
Finally I did that only, Running |
This error started occurring after I updated minikube to the latest version today. Essentially after setting up a new cluster, minikube tries to restart docker with
systemctl
which is not available on macos:Full output:
Running on:
I am not sure if this is a known issue - any help is appreciated :)
P.S.: Not that I think I would have any impact, but I tried both hyperkit and virtualbox drivers.
The text was updated successfully, but these errors were encountered: