Error while pulling image on macos cannot unmarshal DNS message

I have just updated docker on macos. When I try to pull a new image:

docker run alpine:3.2 ping -c 5 google.com

I get the following error:

Unable to find image ‘alpine:3.2’ locally
Pulling repository Docker
docker: Error while pulling image: Get https://index.docker.io/v1/repositories/library/alpine/images: dial tcp: lookup index.docker.io on 192.168.65.1:53: cannot unmarshal DNS message.
See ‘docker run --help’.

Information

  • the output of:
    • Moby Menu > Diagnose & Feedback on OSX
Docker for Mac: version: mac-v1.12.0-beta16.2
OS X: version 10.11.5 (build: 15F34)
logs: /tmp/20160620-135727.tar.gz
failure: No error was detected
[OK]     docker-cli
[OK]     app
[OK]     menubar
[OK]     virtualization
[OK]     system
[OK]     osxfs
[OK]     db
[OK]     slirp
[OK]     moby-console
[OK]     logs
[OK]     vmnetd
[OK]     env
[OK]     moby
[OK]     driver.amd64-linux

When the image is present everthing works fine:

docker run alpine ping -c 5 google.com

PING google.com (110.164.5.89): 56 data bytes
64 bytes from 110.164.5.89: seq=0 ttl=37 time=0.172 ms
64 bytes from 110.164.5.89: seq=1 ttl=37 time=0.381 ms
64 bytes from 110.164.5.89: seq=2 ttl=37 time=0.275 ms
64 bytes from 110.164.5.89: seq=3 ttl=37 time=0.361 ms
64 bytes from 110.164.5.89: seq=4 ttl=37 time=0.353 ms

google.com ping statistics —
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 0.172/0.308/0.381 ms

Any idea what is going wrong?

1 Like

same problem +1 and same ip: lookup index.docker.io on 192.168.65.1:53: cannot unmarshal DNS message.
Docker version 1.12.0-rc2, build 906eacd, experimental
OS X latest

Problem gone away with another internet provider :frowning: 4 hours to trash