I can't get Docker containers to access the internet?
I was facing the same problem. So, to solve that issue I've started the container using the argument --net=host
, it worked perfectly for me.
Here goes the full statement
sudo docker start --net=host -it --name ex_ngninx ubuntu
Resolved. I followed these instructions: commented out dns=dnsmasq
line in NetworkManager.conf