Docker Community Forums

Share and learn in the Docker community.

Docker Network create with multiple routes


(Mlaro) #1

Hi, I would think this is easy, but I haven’t found a good source of information. I am no network expert … I have a network that I create

docker network create --driver=bridge --subnet=172.28.0.0/16 --ip-range=172.28.5.0/24 --gateway=172.28.5.254 wildnetwork

and assign my Docker instances to it. The instances run wildfly in a clustered environment.

I have my mod-cluster multicast set to
224.0.1.105

normally I would just add the following route to my VM
route add -net 224.0.0.0 netmask 240.0.0.0 eth0

Is there a way to add this to the docker network I am using.
Thanks in advance
Mike