edrp.cn的Blog

学习,需要交流,欢迎大家和我共同来学习C#,ASP.NET,MS SQL Server开发Web项目,欢迎大家和我交流

博客园 首页 新随笔 联系 订阅 管理

在拉取镜像的时候速度过慢可以使用Aliyun的镜像来加速,设置如下(在服务器上设置)
修改daemon配置文件/etc/docker/daemon.json来使用加速器
# sudo mkdir -p /etc/docker
# sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://tyk3x6d5.mirror.aliyuncs.com"]
}
EOF
# sudo systemctl daemon-reload
# sudo systemctl restart docker

posted on 2020-04-18 15:22  edrp.cn  阅读(336)  评论(0)    收藏  举报