Skip to content

Instantly share code, notes, and snippets.

@ephrin
Created November 4, 2014 11:17
Show Gist options
  • Save ephrin/f36f0c4f7ee92a07a53c to your computer and use it in GitHub Desktop.
Save ephrin/f36f0c4f7ee92a07a53c to your computer and use it in GitHub Desktop.
docker dns
$ sudo nano /etc/default/docker
---
# Add:
DOCKER_OPTS="--dns 8.8.8.8"
# 8.8.8.8 could be replaced with a local DNS server, such as 192.168.1.1
# multiple DNS servers can be specified: --dns 8.8.8.8 --dns 192.168.1.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment