-
Notifications
You must be signed in to change notification settings - Fork 594
Description
Hello,
I'm running into the following issue when following the steps at https://hub.docker.com/_/redis/
*** FATAL CONFIG FILE ERROR ***
Reading the configuration file, at line 335
>>> 'rdb-del-sync-files no'
Bad directive or wrong number of arguments
if I comment out that entry, I get
*** FATAL CONFIG FILE ERROR ***
Reading the configuration file, at line 484
>>> 'repl-diskless-load disabled'
Bad directive or wrong number of arguments
My Dockerfile is taken from the Redis Docker Hub as follows
FROM redis
COPY redis.conf /usr/local/etc/redis/redis.conf
CMD [ "redis-server", "/usr/local/etc/redis/redis.conf" ]
and my redis.conf is taken from http://download.redis.io/redis-stable/redis.conf
I thought it might be a file encoding error, so I downloaded the exact bytes from the above URL but still faced this issue. Also tried redis:buster but had the same issues. The issue happens while using Docker desktop, as well as in our deployed AWS Fargate environment.