Docker Community Forums

Share and learn in the Docker community.

DNS or Host issues on DockerNAT

dns

(Itopia) #1

Hi guys,

Running Docker for Windows 1.12: get two problems in a kind of either/or situation:

On VM Hosts running behind the DockerNat I can either:

  1. Let them get access to DNS/internet by using gateway 10 0 75 1 but then the hosts can’t ping or communicate with one another or
  2. Let them communicate internally and see each others containers using gateway 10 0 75 2 but then they don’t have any internet access

docker settings - DNS server is automatic - which enables (1) but when I set it to fixed, I lose connectivity.