首页 > 代码库 > Docker for windows10 配置镜像加速

Docker for windows10 配置镜像加速

windows玩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)

  Error response from daemon: Get https://registry-1.docker.io/v2/openstf/stf/manifests/latest: Get https://auth.docker.io/token?scope=repository%3Aopenstf%2Fstf%3Apull&service=registry.docker.io: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

原因是因为连接国内下Docker镜像速度缓慢超时,很正常,歪果仁就是这么的不友好

 

国内Dock Hub镜像地址

DaoCloud 加速器

DaoCloud是国内第一家Dock Hub加速器提供商 
网址: 
https://dashboard.daocloud.io/mirror

注册后进入:https://www.daocloud.io/mirror#accelerator-doc

技术分享

配置重启即可

 

Docker for windows10 配置镜像加速