본문 바로가기

Private Cloud/Docker

Docker image pull error - Temporary failure in name resolution

Error message

download failed after attempts=6: dial tcp: lookup d2iks1dkcwqcbx.cloudfront.net: Temporary failure in name resolution

Solution

  • Check the IP of the domain name
$ nslookup
> d2iks1dkcwqcbx.cloudfront.net

<생략>
Name: d2iks1dkcwqcbx.cloudfront.net
Address: 52.84.229.22
  • write and save the IP and domain name at "/etc/hosts"
$ vi /etc/hosts

52.84.229.22 d2iks1dkcwqcbx.cloudfront.net

Check the result

$ docker pull docker.elastic.co/kibana/kibana:8.2.0