[英]Docker problem with sudo docker run hello-world: Gives Unable to find image error: Timeout
我是编程新手,目前正在学习 Django。 在我现在正在阅读的书中,它要求我使用 Docker。 我按照每个步骤,根据站点信息安装了 Docker,但似乎有些东西不起作用。 当我在控制台中输入时
sudo docker run hello-world
出现此错误:
Unable to find image 'hello-world:latest' locally
docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers).
See 'docker run --help'.
我尝试了很多东西,重新安装了几次docker,并以不同的方式安装了它,似乎没有任何效果! 我正在使用 Pop Os 19.04,它有点类似于 Ubuntu 19.04。 请帮忙!
我的一个朋友帮助了我。 他刚刚更改了 IPv4 和 IPv6 的 DNS 设置,现在一切正常!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.