Skip to content

Instantly share code, notes, and snippets.

@yzf
Last active February 15, 2019 06:22
Show Gist options
  • Save yzf/45dc3ec44ce80df1ca343dc4e7370342 to your computer and use it in GitHub Desktop.
Save yzf/45dc3ec44ce80df1ca343dc4e7370342 to your computer and use it in GitHub Desktop.
run docker redis cluster in mac
docker run -e "IP=0.0.0.0" -e CLUSTER_ONLY=true -i -t -p 7000:7000 -p 7001:7001 -p 7002:7002 -p 7003:7003 -p 7004:7004 -p 7005:7005 -p 7006:7006 -p 7007:7007 grokzen/redis-cluster
redis-cli -h localhost -p 7000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment