docker.io containers cannot use local dnsmasq
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
docker.io (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
docker.io (1.0.1~
$ docker build -t some-image
Sending build context to Docker daemon 4.096 kB
Sending build context to Docker daemon
Step 0 : FROM ubuntu:utopic
Pulling repository ubuntu
277eb4304907: Download complete
511136ea3c5a: Download complete
e12c576ad8a1: Download complete
102eb2a101b8: Download complete
530dbbae98a0: Download complete
37dde56c3a42: Download complete
8f118367086c: Download complete
---> 277eb4304907
Step 1 : MAINTAINER [...]
---> Running in 0d7110f3c6b3
---> 6ad364dded22
Removing intermediate container 0d7110f3c6b3
Step 2 : RUN apt-get update
---> Running in 38995d975211
Err http://
Err http://
Err http://
Err http://
Could not resolve 'archive.
Err http://
Could not resolve 'archive.
Err http://
Could not resolve 'archive.
[...]
$ grep nameserver /etc/resolv.conf
nameserver 127.0.1.1
Workaround: Disable dnsmasq by commenting it out the "dns=dnsmasq" line in /etc/NetworkMan
See also:
https:/
https:/
https:/
Status changed to 'Confirmed' because the bug affects multiple users.