I was trying to pull some docker images from DockerHub. I got this error message “Client.Timeout exceeded while waiting headers”.
After doing a bit of debugging and going through online forums, i tried this option of changing the DNS server to Fixed and restarted the Docker engine.
After that I was able to execute all the Docker commands successfully.