antirez / disque

Disque is a distributed message broker
BSD 3-Clause "New" or "Revised" License
8.01k stars 537 forks source link

Unable to get disque running on separate docker containers to establish a cluster #85

Closed jmontemayor closed 9 years ago

jmontemayor commented 9 years ago

I put together a docker container building disque https://registry.hub.docker.com/u/jobflow/disque/

I am able to deploy and run a single service. I can expose a port and connect to it from a disque client running on the same container or a different container.

But when connect to one instance and send the cluster meet with the ip and port of the other container it will attempt to cluster the instance but eventually fail.

I can link two containers and they will cluster fine, but you can not link a container to more than one. So building a cluster of 3+ isn't working.

I can run multiple disque service in a single container and they will cluster ok. It's just cross container communication that fails.

I wonder if this issue is similar to this one: Sentinel: Fix initial Hello source address

For more details see: http://stackoverflow.com/questions/30904033/unable-to-get-docker-containers-running-disque-to-establish-a-cluster

andreyvital commented 9 years ago

@jmontemayor any progress since we talked yesterday?

antirez commented 9 years ago

I replied into the SO question. Thanks.

jmontemayor commented 9 years ago

Thanks, exposing both 7711 and 17711 fixes this.