niezhiliang / docker-redis-colony Goto Github PK
View Code? Open in Web Editor NEW服务器docker 环境下的redis cluster 集群搭建 傻瓜式脚本安装
服务器docker 环境下的redis cluster 集群搭建 傻瓜式脚本安装
[me@vm cluster]$ ./docker-run.sh
c65276da81b63bc4df103ed19420917224e23ece846faa581c6d7d51893b36f3
ed417d7936578b2ab08889747d08d47f475f57ca737c0d48a8479b15ce4c8df2
32cbf4dc247f53a7c40c5cc77e6fb21036b17b7e43c6f0f43625d1996a08ac37
f0a665cea60396ed635d6f446fabc0f22211812df2d9fa74ab082e02747e0a3f
6c9be74696ebce537d0370c0d97d0f2839c5cfa6b19d3c634524d3941eb6dff4
453c5cc02dc6c99f96a53493df73f43771a4ceaa4443390da45c38bb052da647
/usr/local/bin/redis-cli --cluster create 172.17.0.2:7000 172.17.0.3:7001 172.17.0.4:7002 172.17.0.5:7003 172.17.0.6:7004 172.17.0.7:7005 --cluster-replicas 1
[me@vm cluster]$ docker exec -it redis-cluster-7000 bash
root@c65276da81b6:/data# /usr/local/bin/redis-cli --cluster create 172.17.0.2:7000 172.17.0.3:7001 172.17.0.4:7002 172.17.0.5:7003 172.17.0.6:7004 172.17.0.7:7005 --cluster-replicas 1
Could not connect to Redis at 172.17.0.2:7000: Connection refused
root@c65276da81b6:/data#
root@c65276da81b6:/data# redis-cli --cluster check 172.17.0.2:7000
Could not connect to Redis at 172.17.0.2:7000: Connection refused
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.