1.错误
Error response from daemon: Get "https://registry-1.docker.io/v2/"
原因:镜像服务器地址不可用。
2.可用地址
编辑daemon.json:
xml
vi /etc/docker/daemon.json
内容修改如下:
xml
{
"registry-mirrors": ["https://docker-proxy.741001.xyz","https://registry.docker-cn.com"]
}
重启docker加载配置:
xml
systemctl restart docker
systemctl daemon-reload
查看配置是否生效:
bash
docker info

3.测试mysql镜像下载
