I'm running Ubuntu. If I run
apt-get update inside the Docker container I get
Temporary failure resolving 'gta-update.does-it.net' which is normal since
/etc/resolv.conf contains this:
nameserver 127.0.0.11 options ndots:0
But how should I change the DNS settings if there are no editors available inside Docker (like nano, etc...) ?
I tried with this on host side but it didn't help:
DOCKER_OPTS="--dns 188.8.131.52 --dns 184.108.40.206"
/etc/resolv.conf inside Docker is still the same (even after docker service restart)