Docker Community Forums

Share and learn in the Docker community.

Accessing docker container in a network


(Sujan) #1

Hi all,

I have a range of IP address (e.g. 192.168.1.0/24) available in the LAN, that I am planning to use for docker containers.I can easily do that by updating docker0 bridge with a new range of IP addresses, or I can even create a new bridge to manage them.

I managed to get containers with the IP addressing that I want, but how can I make them available from my LAN? Is there some kind of routing rules that I need to consider, or make the interface public?

Please shade some knowledge. Any help/suggestions are much appreciated. Thanks.

Sujan