Skip to content

Instantly share code, notes, and snippets.

@ebuildy
Last active December 21, 2016 19:43
Show Gist options
  • Save ebuildy/2ff6b4b03d86afbf809424712ceb50f9 to your computer and use it in GitHub Desktop.
Save ebuildy/2ff6b4b03d86afbf809424712ceb50f9 to your computer and use it in GitHub Desktop.
Set resolv.conf for Docker4Mac virtual machine
docker run --rm -v /etc/resolv.conf:/r debian:8 bash -c 'echo "nameserver X.X.X.X" > /r'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment