Skip to content

Instantly share code, notes, and snippets.

@DavidObando
Created October 17, 2016 19:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DavidObando/682a161e59f854d5c3ec44e37453c4b0 to your computer and use it in GitHub Desktop.
Save DavidObando/682a161e59f854d5c3ec44e37453c4b0 to your computer and use it in GitHub Desktop.
Docker on Ubuntu VM on Hyper-V

There's network issues from inside of the containers if you don't do this. If you are deploying containers on Ubuntu VM on Hyper-V, then:

  • run nm-tool on the Ubuntu VM and pick any one of the DNS addresses in the output

  • sudo vi /etc/default/docker and add the DNS ip to DOCKER_OPTS parameter.

  • sudo service docker restart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment