简体   繁体   English

docker 安装问题 windows 10家+wsl

[英]docker installation problem with windows 10 home + wsl

I installed wsl2 on windows 10 home (with ubuntu latest version) okay then the docker community version for windows with docker run hello-world I have the following error I installed wsl2 on windows 10 home (with ubuntu latest version) okay then the docker community version for windows with docker run hello-world I have the following error

PS C:\Users\patri> docker run hello-world Unable to find image 'hello-world:latest' locally docker: Error response from daemon: Get https://registry-1.docker.io/v2/ : dial tcp: lookup registry-1.docker.io on 192.168.65.1:53: read udp 192.168.65.3:43193->192.168.65.1:53: i/o timeout. PS C:\Users\patri> docker run hello-world Unable to find image 'hello-world:latest' locally docker: Error response from daemon: Get https://registry-1.docker.io/v2/ : dial tcp : lookup registry-1.docker.io on 192.168.65.1:53: read udp 192.168.65.3:43193->192.168.65.1:53: i/o timeout. See 'docker run --help'.请参阅“docker run --help”。 help please请帮忙

This seems to be a problem with your domain name servers.这似乎是您的域名服务器的问题。 You mentioned you have just installed it, just to be sure, have you restarted your computer since then?您提到您刚刚安装了它,只是为了确定,从那时起您是否重新启动了计算机? When a similar issue was raised, it was one of the most popular fixes.当出现类似问题时,它是最受欢迎的修复程序之一。

If that doesn't solve your problem, I'd recommend you change the DNS of your Docker network adapter, labeled vEthernet(DockerNAT) in your network management control panel, to 8.8.8.8 or/and 8.8.4.4 (Google's DNS Servers), this should fix the problem. If that doesn't solve your problem, I'd recommend you change the DNS of your Docker network adapter, labeled vEthernet(DockerNAT) in your network management control panel, to 8.8.8.8 or/and 8.8.4.4 (Google's DNS Servers) ,这应该可以解决问题。

Here's the documentation on a related Github issue, and a few more theories/explanations on the problem.是有关 Github 问题的文档, 以及有关该问题的更多理论/解释。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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