docker安装redis哨兵模式集群

亲测有效地址

https://www.cnblogs.com/JulianHuang/p/12650721.html

docker-compose 命令不存在

从github上下载会很慢

cd /usr/local/bin/

wget https://github.com/docker/compose/releases/download/1.14.0-rc2/docker-compose-Linux-x86_64

rename docker-compose-Linux-x86_64 docker-compose docker-compose-Linux-x86_64

chmod +x /usr/local/bin/docker-compose

国内下载源
http://get.daocloud.io/#install-docker
docker安装redis哨兵模式集群_第1张图片

curl -L https://get.daocloud.io/docker/compose/releases/download/1.26.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

你可能感兴趣的:(redis,docker,哨兵)