Docker Community Forums

Share and learn in the Docker community.

Unable to configure local network DNS

(Robert Goldsmith) #1

Expected behavior

When Docker for Mac starts, the Alpine vm host adopts the DNS server details from the mac host.

Actual behavior

google’s DNS servers are hard-coded in /etc/resolv.conf


OS X: version 10.11.4 (build: 15E65) version v1.11.0-beta7
Running diagnostic tests:
[OK] docker-cli
[OK] Moby booted
[OK] driver.amd64-linux
[OK] vmnetd
[OK] osxfs
[OK] db
[OK] slirp
[OK] menubar
[OK] environment
[OK] Docker
[OK] VT-x

Steps to reproduce the behavior

  1. Start Docker for Mac
  2. Try to pull an image from a docker registry running on the local intranet by hostname.