步骤一:替换中科大阿里云镜像源
修改/etc/docker/daemon.json
文件
{
"registry-mirrors": ["https://ustc-edu-cn.mirror.aliyuncs.com/"]
}
步骤二:刷新配置
sudo systemctl daemon-reload
sudo systemctl restart docker
修改/etc/docker/daemon.json
文件
{
"registry-mirrors": ["https://ustc-edu-cn.mirror.aliyuncs.com/"]
}
sudo systemctl daemon-reload
sudo systemctl restart docker