Reputation: 925
We have docker network with name dockerresources
We created few containers with name dockerresources_mycontainer_1
, dockerresources_othercontainer_1
.
We found that dockerresources_othercontainer_1
can communicate with both hostnames
Any idea, how it maps mycontainer
?
Upvotes: 0
Views: 108
Reputation: 4327
The embedded DNS server docker uses is documented here: https://docs.docker.com/engine/userguide/networking/configure-dns/
Upvotes: 2