Docker error response from daemon client.Timeout exceeded
I was trying to set up Docker in my machine running ubuntu 18.0.4. I got this error “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)”, while issuing ‘Docker login’ command from the terminal.
I have learnt that the fix for this issue is to add couple of more entires in the resolve.conf file.
Navigate to /etc/resolv.conf
Add the following nameserver entries
After making this change, i was able to successfuly login to docker hub from the terminal.