I have multiple containers peer0, peer1, peer2. When I login to peer0, I can ping to peer1, peer2.
But when I try to see the local DNS I do not see peer1 and peer2 in it:
root@6d54d21a7f7f:/etc# cat hosts
::1 localhost ip6-localhost ip6-loopback
The containers are in a common network.
Where does docker maintain the DNS entries that allow the containers to reference each other by name?