1.错误
Error response from daemon: Get “https://registry-1.docker.io/v2/”
原因:镜像服务器地址不可用。
2.可用地址
编辑daemon.json(要是没有对应文件夹、文件先手动创建下):
vi /etc/docker/daemon.json
内容修改如下:
{
"registry-mirrors": [
"https://docker.hpcloud.cloud",
"https://docker.m.daocloud.io",
"https://docker.unsee.tech",
"https://docker.1panel.live",
"http://mirrors.ustc.edu.cn",
"https://docker.chenby.cn",
"http://mirror.azure.cn",
"https://dockerpull.org",
"https://dockerhub.icu",
"https://hub.rat.dev",
"https://proxy.1panel.live",
"https://docker.1panel.top",
"https://docker.m.daocloud.io",
"https://docker.1ms.run",
"https://docker.ketches.cn"
]
}
重启docker加载配置:
systemctl restart docker
systemctl daemon-reload
查看配置是否