You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This means that if you expose the port outside of your host (e.g., via -p on docker run), it will be open without a password to anyone
We've had a lot of issues crop up about redis instances becoming compromised #235 and this would be even more unfortunate with the container running as privileged
sudo docker run -v /home/ghy/cluster:/redisConfig -v /home/ghy/cluster/data:/data --privileged=true --name redis6.2.5_master_7771 --network host -d redis:6.2.5 redis-server /redisConfig/redis-7771.conf
1:C 28 Aug 2021 06:43:36.061 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1:C 28 Aug 2021 06:43:36.061 # Redis version=6.2.5, bits=64, commit=00000000, modified=0, pid=1, just started
1:C 28 Aug 2021 06:43:36.061 # Configuration loaded
1:M 28 Aug 2021 06:43:36.062 * monotonic clock: POSIX clock_gettime
1:M 28 Aug 2021 06:43:36.062 # Can't open nodes-7771.conf in order to acquire a lock: Permission denied
The text was updated successfully, but these errors were encountered: