Error response from daemon in centos 7

Im trying to run an image called ubuntu from my centos 7 m/c created in AWS and installed docker

Steps to reproduce the issue:

  1. `docker run -it ubuntu

Describe the results you received:
I would expect docker to run the image and create a container out of it.

Describe the results you expected:
I got an connection timeout:


Even docker pull ubuntu is not woking
Unable to find image ubuntu:latest' locally
docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers).
See 'docker run --help'.
.

Also i tried putting the dns entry in /etc/resolve.conf in my centos m/c as below
nameserver 8.8.8.8
nameserver 8.8.4.4

Did not work

Im doing this from my personal lappy using home router.
Please assist me !!

Hi Balaji,

I got the same error. But, it worked for me second time.

I hope it should work for you too.