I have created a docker container and tried pinging www.google.com within the bash of the container and it works. Also I tried pinging the container from the host - it works perfectly fine.
But when I try to ping the container from a external system in the network, it gives me a request timed out exception.
I am planning to install a tomcat webserver on a container and allow other containers to access the application deployed in the server. Would appreciate some help!