Ehcache and multicast not working in containers

Hello,
we have an application that we deploy in docker infrastructure.

our application uses multicast and ehcache in order to find other nodes.

for some reason when I deploy it in 1 node state ( not using ehcache ) it works and when in multiple node I get a lot of ehcache errors and exceptions

my guess is that it is related to the docker network that does not support multicast/ehcache.
we are using the default bridge network.

any idea how can I resolve it?