Docker Community Forums

Share and learn in the Docker community.

Access container from other host

Hi
How can I access to the container from other host?

e.g
server1 192.168.1.1
docker 192.168.1.2 (container 192.168.1.3)

server1 can reach to container directly with it’s own IP address 192.168.1.3? or should use host ip 192.168.1.2?
what about dns ? server1 able to access container with it’s name?

Thanks,