You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've setup docker_spy as per instructions stated on readme and have no issue with containers recognizing one another through either the defined hostname or container name.
Is there any additional steps needed other than just adding the docker0 ip as nameserver on /etc/resolv.conf?
I noticed pinging the containers from one another will produce an entry in docker logs either stating forwarding to external recursor or internal record found but trying to ping the container hostname from the host doesn't seems to produce any entries in the logs.
The text was updated successfully, but these errors were encountered:
If you want to ping from the host to the container, you need to add the nameserver of Docker to your nameserver configuration. Under ubuntu you create /etc/resolvconf/resolv.conf.d/tail.
In this file you put the following: nameserver 172.17.42.1
After running "sudo resolvconf -u" you should be able to ping from host to container.
Hi there,
I've setup docker_spy as per instructions stated on readme and have no issue with containers recognizing one another through either the defined hostname or container name.
Is there any additional steps needed other than just adding the docker0 ip as nameserver on /etc/resolv.conf?
I noticed pinging the containers from one another will produce an entry in docker logs either stating forwarding to external recursor or internal record found but trying to ping the container hostname from the host doesn't seems to produce any entries in the logs.
The text was updated successfully, but these errors were encountered: