打开 vim /etc/docker/daemon.json(若没有自行创建)
{
"registry-mirrors":["https://docker.mirrors.ustc.edu.cn"]
}
重启一下docker
systemctl restart docker
打开 vim /etc/docker/daemon.json(若没有自行创建)
{
"registry-mirrors":["https://docker.mirrors.ustc.edu.cn"]
}
重启一下docker
systemctl restart docker
上一篇:118-idea 激活
你已经下好了 docker 服务由于我之前用国外的源下过镜像超级慢,所以想要先替换一下国内源,用国内阿里,中科大或者其他的都行su 下使用vi /etc/docker/daemon.json进行编辑
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M