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:
nm-toolon the Ubuntu VM and pick any one of the DNS addresses in the output
sudo vi /etc/default/dockerand add the DNS ip to DOCKER_OPTS parameter.
sudo service docker restart