Sending Multicast Packets from Docker Container (to multicast group)

I have an application that sends messages over UDP multicast that I’ve been attempting to put under docker. I’ve been running into much headwind trying to send multicast packets from a docker container.

I have been able to send messages through the --net=host option on running the docker container. I would, however, like to stick with a bridge configuration.

  • How do I register a new NuGet package source with dotnet CLI on Ubuntu 14.04?
  • docker exec wrong with remote docker host in Jenkins
  • Deis docker image deploy
  • Bash not executed after the user logging
  • nginx in Docker on OS X doen't reload html
  • Docker Compose - Not picking up the dump file in the init command?
  • I would like to get some insight in what needs to be done in order to publish messages through the standard docker bridge configuration. I’m attempting to publish messages on with port 16000. I have tried publishing udp port 16000 through the following argument on docker run.


    This doesn’t give me any change in behavior and my host doesn’t see any multicast traffic.

  • Can Google Kubernetes run Apache Mesos frameworks on top of it?
  • Rich editors in a Docker development environment
  • specify max log json file size in docker compose
  • When do DockerHub auth tokens expire?
  • can not push files to remote host
  • Add SSL support to docker container
  • One Solution collect form web for “Sending Multicast Packets from Docker Container (to multicast group)”

    Docker network drivers have no IGMP/PIM support, so you should really establish a direct Layer 2 connection from the container to the physical switch/router.

    As you have found out yourself, docker’s default bridge network will not help you here.

    I haven’t tested it with multicast, but you should be able to achieve that with Pipework.

    macvlan driver should help you with your problem, but is currently experimental as of Docker Engine 1.11

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.