Created
November 4, 2014 11:17
-
-
Save ephrin/f36f0c4f7ee92a07a53c to your computer and use it in GitHub Desktop.
docker dns
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ 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