由于docker镜像是从国外下载的,所以有些慢
使用vi命令修改/etc/docker/daemon.json文件,下面三个地址任选一个或者都写
{
"registry-mirrors": [
"https://a786190f76fb41679546b24d8d08d8b8.mirror.swr.myhuaweicloud.com",
"https://mirror.baidubce.com",
"https://ustc-edu-cn.mirror.aliyuncs.com"
]
}
重启docker容器
systemctl restart docker标签:daemon,拉取,速度慢,https,mirror,镜像,docker,com From: https://blog.51cto.com/u_15694134/5871550
systemctl daemon-reload