Open eugenepaniot opened 6 years ago
I'm experiencing the exact same issue :crying_cat_face:
This is correct behaviour according too this, which states
DNS lookup for containers connected to user-defined networks works differently compared to the containers connected to default bridge network. ... These --dns IP addresses are managed by the embedded DNS server and will not be updated in the container's /etc/resolv.conf file.
So docker0
is a special case...
Gathered this in collaboration with @tpanum :)
EDIT: So this can be closed.
Expected behavior
The /etc/resolv.conf file should contain setting from HostConfig.Dns
Actual behavior
It still using embedded DNS.
Steps to reproduce the behavior
Run container with macvlan/ipvlan network
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.)