简体   繁体   中英

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

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.

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

我不知道为什么,但是当我改变我的 WIFI 连接时这个问题得到了解决。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM