I have installed the docker V 1.9.1 on my Centos-7 Operating system. and i have one container and so we are able to communicate in between host machine and container, but not between an another host machine and container.
All host machine are same subnet (10.10.1.0) and docker subnet 172.147.0.1
Note: we are able to communicate from docker container to other network(private"another host machine" & public), but not from another host machine to docker container.
This depends on your local routing and firewall policies on the host and other machines on the network (netstat -nr and iptables -vS). Typically, you would publish a port on the host with something like docker run -p 8080:80 nginx to publish port 8080 on the host and map that to port 80 on the container.