运行代码
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'.
![](https://i-blog.csdnimg.cn/blog_migrate/4d8415026822d366d5fc62ce290f66a7.png)
解决
![](https://i-blog.csdnimg.cn/blog_migrate/10db0b07cb7bdcc9b4bf2502f7773cce.png)
ps:大概率是内网环境引发的超时问题