你是否遇到拉取docker镜像很慢甚至失败的问题,shadowsocks 也没用,这时候你需要修改镜像源来加速:
docker pull node:8.9.4
8.9.4: Pulling from library/node
4176fe04cefe: Already exists
851356ecf618: Already exists
6115379c7b49: Already exists
aaf7d781d601: Already exists
936f8420f2e4: Already exists
eab82fe5fcf4: Already exists
ba2f0c7b6af8: Already exists
70f351c27b65: Already exists
error pulling image configuration: Get https://dseasb33srnrn.cloudfront.net/registry-v2/docker/registry/v2/blobs/sha256/67/672002a50a0b96b7b74190aea84739592ea0f83819e40a47b4b31ce5d9c31b28/data?Expires=1523461520&Signature=FtBeVuN~wAz2hTcm5NWxNs9hOSI13UJGuhGiyAjBI3C2oNLqz1qTG-1Lc-v8fHw0KomxGIf58k~TUXTXM1EPAIraES7YzgVhpSvzJyHt2CZmsDa259VHPV3Xd5G8emWJTd3IJFywlvtW4lfw8lSAyjLkXouLsXm5fGXKGjqu~PE_&Key-Pair-Id=APKAJECH5M7VWIS5YZ6Q: net/http: TLS handshake timeout
Docker for Mac
- 打开Docker->Preferences...
- Insecure registries配置:registry.mirrors.aliyuncs.com
- Registry mirrors配置刚刚专属地址那里自己的镜像加速器地址:http://f2d6cb40.m.daocloud.io即可.
-
重启docker生效
image.png
网友评论