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
I am using the version of Mint and after installing Docker and try to create an image of Ubuntu to do the apt-get update command does not recognize, to remedy the problem, I did step down
docker run -it -p 8080:80 ubuntu /bin/bash
echo "91.189.92.201 archive.ubuntu.com" >> /etc/hosts
cat /etc/hosts
apt-get update
I faced the same problem with docker-compose
. I solve that by adding ENV http_proxy 'proxy.com'
entry into Dockerfile.