Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Docker DNS configuration for eduroam

How to set up docker DNS to work on eduroam network

If you encounter problems like apt-get failing or Temporary failure in name resolution [Errno -3], it's maybe because of Docker current DNS configuration.

To fix this, run :

sudo nano /etc/docker/daemon.json

get the DNS IP of your local eduroam network (here, mine is

then paste this :

    "dns": ["", ""]


sudo service docker restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.