I am new to programming and I am currently learning Django. In the book I am reading now, it requires me to use Docker. I followed every step, installed Docker accordingly to the site information, but something doesn't seem to work. When I type in the console
sudo docker run hello-world
this error comes up:
Unable to find image 'hello-world: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'.
I tried a lot of things, reinstalled docker a few times, and installed it a different way, nothing seems to work! I am using Pop Os 19.04 which is kind of equal to Ubuntu 19.04. Please help!
A friend of mine helped me. He just changed the DNS settings for IPv4 and IPv6 and it all works now!
Hi there is some existing solution for the same issue as far i know there is some DNS configuration you need to perform.
I will suggest please check these
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.