Skip to content

Instantly share code, notes, and snippets.

@thecodesmith
Created July 23, 2015 19:39
Show Gist options
  • Select an option

  • Save thecodesmith/30a62fd0e9b97fa95b52 to your computer and use it in GitHub Desktop.

Select an option

Save thecodesmith/30a62fd0e9b97fa95b52 to your computer and use it in GitHub Desktop.
Docker DNS/connectivity fix when docker running on Virtualbox (Ubuntu 14.04) host
# Get DNS server names
nm-tool | grep DNS
# Add one or more of the above IPs to the docker config:
# DOCKER_OPTS="--dns 8.8.8.8 ... --dns <local DNS server IP>"
vi /etc/default/docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment