AliyunContainerService / redis-cluster

HA Redis Cluster with Sentinel by Docker Compose
Apache License 2.0
453 stars 203 forks source link

docker-entrypoint.sh 这个文件在哪里呢? #5

Closed zoushangqi closed 7 years ago

zoushangqi commented 7 years ago

exec docker-entrypoint.sh redis-server /etc/redis/sentinel.conf --sentinel

docker-entrypoint.sh 这个文件在哪里呢?运行报错。

denverdino commented 7 years ago

那个文件在redis:3镜像中 /usr/local/bin/docker-entrypoint.sh 目录下

ais-one commented 7 years ago

请注意! Line endings of the files should be in LF, not CRLF, if you do at git pull on windows and the files are CRLF, change them to LF, otherwise to sentinel part will not run. 这个问题浪费了我不少时间...

denverdino commented 7 years ago

请参考 https://yq.aliyun.com/articles/68245