/smcroute_docker

A docker container running the smcroute daemon

Primary LanguageDockerfile

Smcroute

A docker container running smcroute (a static multicast routing daemon). By running in net=host mode it allows the container to adjust the hosts mroute tables.

Basic usages

Run the daemon

docker run -d --name smcroute --net=host adamcathersides/smcroute:latest

Run with a config file

docker run -d --name smcroute --net=host adamcathersides/smcroute:latest -f config.conf

Add a route

docker exec smcroute smcroute -a eth0 192.168.1.1 239.1.1.1 eth1

Delete a route

docker exec smcroute smcroute -r eth0 192.168.1.1 239.1.1.1 eth1

Join a mulicast group

docker exec smcroute smcroute -j eth0 239.1.1.1

Leave a mulicast group

docker exec smcroute smcroute -l eth0 239.1.1.1

Source

https://github.com/adamcathersides/smcroute_docker