Docker Community Forums

Share and learn in the Docker community.

Docker Containers IP externally

Hello

I’m in a situation at the moment where i’m required to have 3 containers, each with their own internal IP (192.168.1.10-12) on a 192.168.1.0/24 network.
Now I was wondering if it was possible to reach these containers from an external PC in the same network that they are reachable by IP ?

I know about the usual way of working with using the IP of the host and forwarding ports from the containers and connecting this way. But I wonder if it’s possible that when I boot up these containers that instead of connecting through the host PC ip, that I can instantly connect to the container IP.

Sorry if this question has been asked before, I didn’t find anything fast.

Regards