镜像拉取报错Get /registry-v2/docker/ i/o timeout

时间:2024-11-08 08:29:08

拉取镜像时报错

docker: error pulling image configuration: Get /registry-v2/docker/registry/v2/blobs/sha256/68/685e5e4b3b0fd4d3bceaad6e28889c1a7386588d6e416af34417e4f715429dbf/data?verify=1663643819-cvFw%2BJHtDOGT91sNIq9HSoDPIwQ%3D: dial tcp 104.18.122.25:443: i/o timeout

修改我们的配置文件

vim /etc/docker/
{
"registry-mirrors": [""]
}

或者

{
"registry-mirrors": [""]
}

重启docker

sudo systemctl daemon-reload

sudo systemctl restart 

sudo systemctl status docker -l