Can somebody help me get apt-get working in my docker container? Whenever I try running any apt-get command in my docker container, the command fails. I\'m running Docker ve
First check if you have connection, ping directly to ip 91.189.92.201
that archive.ubuntu.com
is pointed to:
ping 91.189.92.201
If you still can't reach the host it's not a dns problem.
Also if you have internet connection, you can make a hack. Just put a row into /etc/hosts
file and problem solved:
91.189.92.201 archive.ubuntu.com