Docker for Mac DNS queries goto

Expected behavior

Use the DNS settings from the local machine.

Actual behavior

DNS queries are going to when executing a docker loign command.


On a corporate network where the DNS servers are set properly I can do the following:

issue a ping to an artifactory repository from my command prompt (success)
issue a ping from the moby instance (success)

I cannot run a docker login to the artifactory repository since it gets an error.

A pcap file shows that the queries hits - which is all nice - but this server is not configured anywhere on the current networking settings on the connected network.

Steps to reproduce the behavior

  1. docker login
  2. Error dial tcp: lookup on dial tcp getsockopt: connection

Forgot to add this is a fresh 1.12 rc4 install with all diagnostics ok.