dial tcp lookup: no such host issue on docker windows desktop

半城伤御伤魂 提交于 2019-12-11 06:08:23

问题


I've installed docker on my office windows 10 Pro machine. I'm facing dial tcp lookup issue while trying to pull from the registry.

Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 192.168.65.1:53: no such host

I've tried many possible solutions from online. But I couldn't figure out the issue. Can someone please help me regarding this issue.

Thanks.


回答1:


I got the same issue and the below settings worked for me.

set proxy address as below in docker settings - username:password@proxyAddress:port

Eg:

and also I set DNS server as automatic and it is not set to 8.8.8.8



来源:https://stackoverflow.com/questions/54559335/dial-tcp-lookup-no-such-host-issue-on-docker-windows-desktop

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!