网络原因导致的问题:

error pulling image configuration: Get https://d2iks1dkcwqcbx.cloudfront.net/docker/registry/v2/blobs/sha256/96/96dd1575de0ff2d2759f85216f4e3e36313873e00e69e6611e28a86d1c0482af/data?Expires=1569218258&Signature=inuxJ8yTYpVEMAnTdYb1MCqbuHdPG5aPzJjtNsTPMDnSi6Hz6lH-sS1deZkcAo77qXU5KKuT1Sf8C78h4mZGaNB3p5z2IVm70F5HPIeCH~ihwxPtFixjFCoCkcPZ4CTvH5t~AITh5Ko-mG83Et-dIwTsBh9m4bRF7wMvkJMggQVfkkA5JVwHxMuFlyh8QPvlnJypQY6shGrLLvK5TxZ9rdYVT2VKM6uLAbgYzimuZqiDChYZcad7bs6HLMtyBDU8nbU5X28JiXRIjIL0x~sHf-5mbqeeTM~5GfE4SRJMJGb~Dl5BuERjt1HmKogG3wraAywR3tOoxThh6eGaxQTJDQ__&Key-Pair-Id=APKAIVAVKHB6SNHJAJQQ: dial tcp: lookup d2iks1dkcwqcbx.cloudfront.net on 114.114.114.114:53: read udp 192.168.8.10:36438->114.114.114.114:53: i/o timeout

解决方案:

1.添加国内镜像加速源

# 停止docker服务
systemctl stop docker
# 修改daemon配置文件添加加速源
vi /etc/docker/daemon.json
  {
    "registry-mirrors": ["https://registry.docker-cn.com","http://hub-mirror.c.163.com"]
  }
# 重载配置
systemctl daemon-reload
# 重启docker服务
systemctl restart docker

2.如果方案1不管用的话,尝试修改network的dns

  • vi /etc/sysconfig/network-scripts/ifcfg-ens***

ifcfg-ens***为本机网卡的名字

修改:

  DNS1="8.8.8.8"

  DNS2="114.114.114.114"

05-13 15:51