Okay I am moderately familiar with dockers and networking and have installed and used dockers and k8s multiple times, but there is something very tricky going on here.
I am able to go to hub.docker.com and login no problems. but I can not ping the same address!!!
please tell me how this is possible?
I am not able to run “sudo docker run hello-world” or docker login as i get the same error message
user1@SNDPC7:~$ sudo docker run hello-world
Unable to find image 'hello-world:latest' locally
docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: requestcanceled while waiting for connection (Client.Timeout exceeded while awaiting headers).
See 'docker run --help'.
I am on an open internet connection with no proxies or firewalls. running ubunutu 18.04.3 desktop.
This is a clean install and I have followed the directions on https://docs.docker.com/install/linux/docker-ce/ubuntu/ and no luck.
user1@SNDPC7:~$ ping hub.docker.com
PING us-east-1-elbdefau-1nlhaqqbnj2z8-140214243.us-east-1.elb.amazonaws.com (52.2.167.149) 56(84) bytes of data.
^C
--- us-east-1-elbdefau-1nlhaqqbnj2z8-140214243.us-east-1.elb.amazonaws.com ping statistics ---
298 packets transmitted, 0 received, 100% packet loss, time 304127ms
user1@SNDPC7:~$ sudo docker version
Client: Docker Engine - Community
Version: 19.03.5
API version: 1.40
Go version: go1.12.12
Git commit: 633a0ea838
Built: Wed Nov 13 07:29:52 2019
OS/Arch: linux/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 19.03.5
API version: 1.40 (minimum version 1.12)
Go version: go1.12.12
Git commit: 633a0ea838
Built: Wed Nov 13 07:28:22 2019
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.2.10
GitCommit: b34a5c8af56e510852c35414db4c1f4fa6172339
runc:
Version: 1.0.0-rc8+dev
GitCommit: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
docker-init:
Version: 0.18.0
GitCommit: fec3683