docker拉取镜像慢的问题

使用阿里云的镜像加速器;
 
 
在/etc/docker目录下找到在daemon.json文件(没有就新建),将下面内容写入:
{
    "registry-mirrors": ["https://xxxxxx.mirror.aliyuncs.com"]
}
 
重启daemon
systemctl daemon-reload
 
重启docker服务
systemctl restart docker
 
 
 
 
 
posted @ 2020-06-15 15:56  L丶银甲闪闪  阅读(289)  评论(0编辑  收藏  举报