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