-
Notifications
You must be signed in to change notification settings - Fork 84
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
Connection refused trying to connect to registry-1.docker.io #209
Comments
These folks said restarting Docker fixed it, but sadly that didn't work: https://forums.docker.com/t/error-response-from-daemon-get-https-registry-1-docker-io-v2/23741/26 Gonna try restarting my computer next just for fun. :) |
Restarting did not fix it. :/ |
@mattstauffer try stopping the dnsmasq service |
@dennisvandalen Thanks! Sadly that didn't work. Interestingly my dnsmasq services was in an error status, but stopping it didn't fix the problem. |
I'm running into it, also running an M1. Here's the docker issue: docker/for-mac#5186 At least for me, the workaround is this, in this order:
After you've enabled the container, you can turn dnsmasq back on. |
@jasonvarga Thank you! I tried stopping DNSMasq and it didn't work, but I'm gonna stop it and restart the machine shortly and test that out. Thank you for the link, too! |
You just need to restart the docker after stopping dnsmasq. Also, double check that it's indeed stopped instead of failed. |
@hcancelik You're right! I had tried to restart it in the preferences, using "apply and restart" on some changes I was making, but that apparently didn't cut it; I actually had to click on the dropdown and click Restart, and then that fixed it. Thanks! |
Thanks again @jasonvarga! For anyone else who runs into this, this is a Docker for Mac + DNSMasq (likely installed by Laravel Valet) thing, not a Takeout thing. |
It's also worth to say that it's not only issue caused by dnsmasq. Also when You restart container with dnsmaqs turned on Docker cannot read date properly and set dates as 1970 in its containers. |
user$ docker run hello-world what might be the issue ? |
reboot turns ok. |
I know I'm a Takeout maintainer so I don't have to make this public, but I figure I'm not the only person who'll ever see this error, so I'll put it here publicly while I try to figure it out.
This is on an m1 laptop using the brand new Docker for desktop build, so first thing I'm going to do is install a Docker container the classic way not using takeout and I bet I'll have the same issue there. :)
The text was updated successfully, but these errors were encountered: