Keywords: Redis - Linux - Technical issue - Permissions
Description:
I am trying to setup a redis statefulset for my kubernetes cluster but I am receiving this error after running my configuration file: 1:C 10 Aug 2020 12:37:15.316 # Fatal error, can't open config file '/etc/redis/redis.conf'
I am using the bitnami/redis image from docker and I ran this command as mentioned in the documentation:
sudo docker run --name bitnamiredis -e ALLOW_EMPTY_PASSWORD=yes -v /etc/redis/redis.conf:/opt/bitnami/redis/mounted-etc/redis.conf -v /var/lib/redis:/bitnami/redis/data bitnami/redis:latest