Get https://registry-1.docker.io/v2/library/tomcat/manifests/latest:timeout

Docker配置镜像加速

1、获取镜像地址
  1.1、阿里云
   打开网址:https://cr.console.aliyun.com/#/accelerator
注册、登录、设置密码
然后在页面上可以看到加速器地址,类似于:https://123abc.mirror.aliyuncs.com
  1.2、腾讯云(非腾讯云主机不可用)
  加速地址:https://mirror.ccs.tencentyun.com
2、配置
运行命令(注意修改镜像加速地址):

mkdir -p /etc/docker
tee /etc/docker/daemon.json <<-‘EOF’
{
“registry-mirrors”: [“https://123abc.mirror.aliyuncs.com”]
}
EOF
systemctl daemon-reload
systemctl restart docker

作者: hackyo
出处:https://www.cnblogs.com/hackyo/p/9613465.html
版权:本文采用「GNU LESSER GENERAL PUBLIC LICENSE」知识共享许可协议进行许可。

标签: Docker, 镜像加速, 加速

你可能感兴趣的:(Get https://registry-1.docker.io/v2/library/tomcat/manifests/latest:timeout)