【linux】【elasticsearch】docker pull error pulling image configuration:Getを解決https://d2iks1dkcwqcbx.cl...

1390 ワード

ネットワークの原因による問題:


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"
    転載先:https://www.cnblogs.com/jxd283465/p/11571943.html