docker问题
Docker镜像换源时出现bug
ERROR: Get "https://registry-1.docker.io/v2/":
net/http: request canceled while waiting for connection
(Client.Timeout exceeded while awaiting headers)
换源,但是要转移加入信任url
目的地
/etc/docker/daemon.json
内容:
{
"registry-mirrors" : [
"http://hub-mirror.c.163.com",
"https://docker.mirrors.ustc.edu.cn",
"https://cr.console.aliyun.com",
"https://mirror.ccs.tencentyun.com"
],
"insecure-registries" : [
"hub-mirror.c.163.com",
"docker.mirrors.ustc.edu.cn",
"cr.console.aliyun.com",
"mirror.ccs.tencentyun.com"
]
}
本文链接:
/archives/dockerwen-ti
版权声明:
本站所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自
cosh'blog!
喜欢就支持一下吧