11/1/2023 0 Comments Docker network connectSecond thing to check is run cat /etc/nf on the host machine. If it has an invalid DNS server, such as nameserver 127.0.x.x, then the container will not be able to resolve the domain names into ip addresses, so ping will fail. on my computer outside docker.įirst thing to check is run cat /etc/nf in the docker container. Sudo apt-get update runs successfully on host, i.e. Update in interactive mode fails in the same fashion. I am on Ubuntu 16.04 and not using firewall or corporate proxy server and have tried to restart Docker. W: Failed to fetch Temporary failure resolving '' Works: docker run ubuntu /bin/echo 'Hello world'ĭoes not work: docker run ubuntu apt-get update I cannot execute any command requiring internet connection inside any Docker container.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |