Web Development

/ 0评 / 0/ 最后更新:2020-11-15
docker修改国内镜像源

步骤一:替换中科大阿里云镜像源

修改/etc/docker/daemon.json文件

{
    "registry-mirrors": ["https://ustc-edu-cn.mirror.aliyuncs.com/"]
}

步骤二:刷新配置

sudo systemctl daemon-reload
sudo systemctl restart docker
0

Leave a Reply

Your email address will not be published. Required fields are marked *