报错
error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/35/35a88802559dd2077e584394471ddaa1a2c5bfd16893b829ea57619301eb3908/data?verify=1718791692-JfMN8xzfpDqstI4xvkcUoiBI9is%3D: dial tcp 128.121.243.77:443: i/o timeout
解决方法
更新镜像仓库文件:
sudo vi /etc/docker/daemon.json
将以下内容写入文件:
{ "registry-mirrors": ["https://registry.docker-cn.com","https://s3d6l2fh.mirror.aliyuncs.com"] }
重启docker
sudo systemctl restart docker
修改DNS设置
sudo nano /etc/resolv.json
将以下内容写入文件:
# Generated by NetworkManager
nameserver 8.8.8.8
nameserver 8.8.4.4
重启docker
sudo systemctl restart docker
重新尝试Pull镜像
docker pull ubuntu
docker images
小小报错!拿下!!拿下!!!
版权归原作者 I L Y M T I C S 所有, 如有侵权,请联系我们删除。