Resolving Docker DNS lookup failure inside container on custom bridge network
Root Cause Diagnosis Containers on a user-defined bridge network send all DNS queries to Docker’s embedded resolver at 127.0.0.11, which answers container names itself and forwards everything else to upstream servers taken from the host’s /etc/resolv.conf. The lookup fails when that forwarding path breaks: the host lists only a loopback stub resolver Docker cannot use … Read more