I have an application that uses hazelcast. I am running two containers related to this application in docker emvironment. The configuration of hazelcast is same(group name, password, multicast or tcp-ip for network join) However, they cannot see each other and cannot create cluster group. Each of them create its own cluster.
The question is that:
- How should I define multicast network for docker in hazelcast.xml? —-For example, defining just multicast group and port did not work for me.(But it was working when two virtual machines were used)
- When I tried network configuration for tcp-ip enabled and assigned docker defined ip addresses as members in hazelcast.xml, it also did not work)