Skip to content

Running this image (v7.0.10) from docker in Mac results in a connection refused #158

Answered by Grokzen
devaljain1998 asked this question in Q&A
Discussion options

You must be logged in to vote

Try with docker run -e "INITIAL_PORT=6000" -e "IP=0.0.0.0" -p 6000-6005:6000-6005 grokzen/redis-cluster:7.0.10

I don't think just exporting it on your host machine really pushes it down into the container unless you send it in explicitly.

If you can't connect to the node then you have to go inside the container into bash and run something like netstat -anutp to see what ports the service really uses because it seems that it is not setting up fully properly. Then once you have that you can telnet into that port and run commands and inspect the cluster with CLUSTER NODES to see what the internal state of redis-cluster says

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@devaljain1998
Comment options

@Grokzen
Comment options

@devaljain1998
Comment options

@Grokzen
Comment options

Answer selected by devaljain1998
@devaljain1998
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants