赞
踩
Docker拉取镜像报错error pulling image configuration
ERROR: error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/de/de65f dial tcp 104.18.122.25:443: i/o timeout
正确方法:
vim /etc/docker/daemon.json
{
“registry-mirrors”: [“https://docker.mirrors.ustc.edu.cn”]
}
或者
{
“registry-mirrors”: [“https://registry.docker-cn.com”]
}
修改完成需要重启
service docker restart
错误方法1:
vim /etc/resolv.conf
nameserver 8.8.8.8
错误方法2:
#同步时间:
ntpdate time.windows.com
错误方法3:
# 设置超时时间
export COMPOSE_HTTP_TIMEOUT=120
错误方法4:
vim /etc/default/docker
# DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4 --insecure-registry dockerhub.cyai.com"
DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4 --insecure-registry docker.mirrors.ustc.edu.cn"
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。