Last active
February 15, 2019 06:22
-
-
Save yzf/45dc3ec44ce80df1ca343dc4e7370342 to your computer and use it in GitHub Desktop.
run docker redis cluster in mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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