OT-CONTAINER-KIT / redis

A production optimized redis docker image
https://opstree.github.io
23 stars 51 forks source link

Cannot start redis when make build_redis, /data dir persimission denied #20

Closed obitoquilt closed 1 year ago

obitoquilt commented 1 year ago

➜ redis git:(master) ✗ docker run -it --name redis6.2 -d quay.io/opstree/redis:v6.2.8 78c22d5b2712de83227d0e148e8ce850cae801fa2c91f30fd681270df6b75ff7 ➜ redis git:(master) ✗ docker logs redis6.2 Redis is running without password which is not recommended Setting up redis in standalone mode Running without TLS mode Starting redis service in standalone mode..... 9:C 17 Jan 2023 07:12:09.936 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 9:C 17 Jan 2023 07:12:09.936 # Redis version=6.2.8, bits=64, commit=00000000, modified=0, pid=9, just started 9:C 17 Jan 2023 07:12:09.936 # Configuration loaded 9:M 17 Jan 2023 07:12:09.937 * monotonic clock: POSIX clock_gettime 9:M 17 Jan 2023 07:12:09.940 # Can't open the append-only file: Permission denied