https://bugzilla.redhat.com/show_bug.cgi?id=1118234
Bug ID: 1118234
Summary: Docker doesn't update DNS IP when it's changed on
system
Product: Fedora EPEL
Version: epel7
Component: docker-io
Severity: medium
Assignee: lsm5(a)switzerlandmail.ch
Reporter: maxime.carron(a)fedoraproject.org
QA Contact: extras-qa(a)fedoraproject.org
CC: admiller(a)redhat.com, golang(a)lists.fedoraproject.org,
hushan.jia(a)gmail.com, lsm5(a)switzerlandmail.ch,
mattdm(a)redhat.com, mgoldman(a)redhat.com, s(a)shk.io,
vbatts(a)redhat.com
Description of problem:
When the DNS server is changed on the system, docker keep using the one used at
its startup.
Version-Release number of selected component (if applicable):
EL 7.0
docker : 1.0.0-1
How reproducible:
Always.
Steps to Reproduce:
1. Start docker (systemctl start docker)
2. Do any operation which needs DNS resolution (docker pull fedora:latest)
=> System DNS is used
3. Change system DNS to 8.8.8.8 or any different DNS
4. Do some other operation which needs DNS resolution (docker pull
fedora:rawhide)
5. You should see that first is still used
Actual results:
No DNS update
Expected results:
Docker should use the current system DNS
Additional info:
This is especially disturbing on a laptop, because a docker restart is needed
everytime I change network (when first DNS is not reachable anymore, usually
when DNS has a private IP)
--
You are receiving this mail because:
You are on the CC list for the bug.