一切福田,不離方寸,從心而覓,感無不通。

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

报错: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)

解决方法:

配置加速地址:

 

进入这个文件以后输入i打开编辑模式,

添加以下内容:

 

重启:

 

from:https://blog.csdn.net/2202_75961842/article/details/142831560