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

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
 

你可能感兴趣的:(docker)