Multicast with Docker Swarm and overlay network

I am testing an application using multicast for the discovery. I created a Swarm cluster and a network create -d overlay swarm-net so the containers share the same LAN across the several Swarm agents hosts.

The discovery seemed to not be working, so I installed tshark. tshark shows the IP address node within which tshark is running and the multicast address for the packet being sent though tshark does not show any incoming multicast packet.

  • Why do I get 'could not resolve “registry.giantswarm.io”' errors from boot2docker?
  • Library for Docker Remote API v1.24 for Go?
  • How to run docker image produced by VS 2017
  • Links between service Rancher Server 1.0.0
  • Docker HTTPS access - ONLYOFFICE3
  • Restart Docker Container (Automatically) when Image changes in Portainer(?)
  • Note that, as I don’t know a better way to do so, the container is run with --privileged to enable tshark.
    Note also that containers can communicate with each other.

    Is the multicast blocked because of Docker iptable?
    How to enable multicast in an overlay network?

  • Docker Data Volume Container - Can I share across swarm
  • Issues getting Ansible to work with Boot2Docker
  • Is there any method to get the running docker container's startup arguments?
  • What's the mechanism of Inner Load Balancing along with docker swarm v1.12
  • Jenkins Docker Pipelining inside Docker
  • Kafka On Docker without docker-compose?
  • One Solution collect form web for “Multicast with Docker Swarm and overlay network”

    Overlay-driver network does not support multicast as it uses vxlan unicast, according to chanwit (and my experience so far).

    Note that the plugin weave net (an overlay network driver) does support multicast!

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