Docker pull 报错Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request

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)

环境

Debian10

解决方案

一般就2方面,镜像加速问题,DNS问题
如下2篇文章能解决大部分这个错误
https://datawookie.netlify.com/blog/2018/10/dns-on-ubuntu-18.04/ link
加上
https://www.cnblogs.com/sxdcgaq8080/p/11059976.html link

然而还是有这样的警告,可以查看这个issue了解这个问题
Docker pull 报错Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request_第1张图片

你可能感兴趣的:(问题集)