Skip to content

Instantly share code, notes, and snippets.

@pubkey
Created July 15, 2016 09:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pubkey/1e5f0de74d59040f13a27cf7edc4f787 to your computer and use it in GitHub Desktop.
Save pubkey/1e5f0de74d59040f13a27cf7edc4f787 to your computer and use it in GitHub Desktop.
docker_fixDNS.instr
#@link http://askubuntu.com/questions/475764/docker-io-dns-doesnt-work-its-trying-to-use-8-8-8-8
nano /etc/default/docker
docker_OPTS="--dns 127.0.0.1"
nano /etc/NetworkManager/NetworkManager.conf
#dns=dnsmasq
service network-manager restart
service docker restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment