error pulling image configuration: download failed after attempts=6: dial tcp 31.13.69.245:443:

一只不爱吃兔子的胡萝卜 2024-08-20 14:37:01 阅读 97

pull镜像失败:

error pulling image configuration: download failed after attempts=6: dial tcp 31.13.69.245:443: connect: connection refused

 

设置腾讯云镜像:

1、创建/etc/docker目录

sudo mkdir -p /etc/docker

 

2、创建docker镜像配置文件

sudo tee /etc/docker/daemon.json <<-'EOF'

 

 {

  "registry-mirrors": [

          "https://ox288s4f.mirror.aliyuncs.com",

          "https://registry.docker-cn.com",

          "http://hub-mirror.c.163.com",

          "https://mirror.ccs.tencentyun.com"

  ]

}

 

EOF

 

3、重启

sudo systemctl daemon-reload

sudo systemctl restart docker

或者

sudo service docker restart

 



声明

本文内容仅代表作者观点,或转载于其他网站,本站不以此文作为商业用途
如有涉及侵权,请联系本站进行删除
转载本站原创文章,请注明来源及作者。