拨号tcp查找:在docker windows桌面上没有这样的主机问题 [英] dial tcp lookup: no such host issue on docker windows desktop
问题描述
我已经在我的Office Windows 10 Pro计算机上安装了docker.尝试从注册表中提取数据时,我遇到了拨号tcp查找问题.
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.
守护程序的错误响应:获取 https://registry-1.docker.io/v2/:拨打tcp:在192.168.65.1:53上查找Registry-1.docker.io:没有这样的主机
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.
谢谢.
推荐答案
我遇到了同样的问题,以下设置对我有用.
I got the same issue and the below settings worked for me.
设置 代理地址 - 用户名:password @ proxyAddress:端口
set proxy address as below in docker settings - username:password@proxyAddress:port
例如:
,我还将DNS服务器设置为自动,但未将其设置为 8.8.8.8
and also I set DNS server as automatic and it is not set to 8.8.8.8
这篇关于拨号tcp查找:在docker windows桌面上没有这样的主机问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!