Docker Embedded DNS Server
On user-defined networks Docker runs an embedded DNS server at 127.0.0.11 inside each container's namespace and writes it into resolv.conf; it resolves container names, network aliases, and service names to container IPs and forwards everything else upstream. This is the mechanism behind reaching another container simply by its name.
This Concept is waiting for its first lesson!
On user-defined networks Docker runs an embedded DNS server at 127.0.0.11 inside each container's namespace and writes it into resolv.conf; it resolves container names, network aliases, and service names to container IPs and forwards everything else upstream. This is the mechanism behind reaching another container simply by its name.
Are you a teacher? Sign in to start contributing.
Sign In