Skip to content

Embedded dns server breaks DIND #20037

@clinta

Description

@clinta
$ docker --version
Docker version 1.10.0, build 590d5108

Steps to reproduce:

$ docker network create test
1d8159ad6dd00935a91f4cb1d3c61d9f55c0e6c08292780fc43936fcf171cb6e

$ docker run -d --name=dind --net=test --privileged docker:dind
51681e1f9e0a69216ff206011f420a490f8a518a1c68776bf9cc1b71e4783974

$ docker exec dind cat /etc/resolv.conf
search domain.local
nameserver 127.0.0.11
options ndots:0

$ # prove that network and dns connectivity work for other commands

$ docker exec dind ping -c1 google.com 
PING google.com (216.58.216.78): 56 data bytes
64 bytes from 216.58.216.78: seq=0 ttl=52 time=7.998 ms

--- google.com ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 7.998/7.998/7.998 ms

$ docker exec dind docker run busybox                    
Unable to find image 'busybox:latest' locally
docker: Error response from daemon: Get https://registry-1.docker.io/v2/library/busybox/manifests/latest: Get https://auth.docker.io/token?scope=repository%3Alibrary%2Fbusybox%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 127.0.0.11:53: no such host.
See 'docker run --help'

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions