for-mac icon indicating copy to clipboard operation
for-mac copied to clipboard

not able to pull an image from docker repository

Open srinivasvadla opened this issue 7 years ago • 4 comments

Hello i am unable to pull an image from the docker repository saying that Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 127.0.1.1:53: no such please help out me .

Thank you.

srinivasvadla avatar Mar 27 '19 07:03 srinivasvadla

Seems like a duplicate of https://github.com/docker/for-mac/issues/1317

Could be a transient DNS problem - try restarting Docker and if that doesn't work check out the other approaches people are trying on that issue.

albertoal avatar Mar 28 '19 03:03 albertoal

Thank you , i resolved by adding these below

$ sudo mkdir -p /etc/systemd/system/docker.service.d $ sudo vi /etc/systemd/system/docker.service.d/http_proxy.conf [Service] Environment="HTTP_PROXY=/" Environment="HTTPS_PROXY=/" $ sudo systemctl daemon-reload $ sudo systemctl restart docker

And make sure it is not solving by connecting with LAN .mostly try with by using WIFI . Thank you.

srinivasvadla avatar Mar 28 '19 05:03 srinivasvadla

Thank you @srinivasvadla

ulrich avatar Mar 28 '19 13:03 ulrich

Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle locked

docker-robott avatar Jul 01 '20 03:07 docker-robott