阿里云Docker镜像加速

mkdir -p /etc/docker
tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://xxxxxxx.mirror.aliyuncs.com"]
}
EOF
systemctl daemon-reload
systemctl restart docker

 

其中https://xxxxxxx.mirror.aliyuncs.com请换成自己申请的镜像加速域名。

申请地址:https://www.aliyun.com/product/acr

 

posted @ 2019-03-27 16:16  DanielYoung  阅读(5785)  评论(0编辑  收藏  举报