docker-redis icon indicating copy to clipboard operation
docker-redis copied to clipboard

Fatal error, can't open config file '/etc/redis/redis.conf'

Open cwildfoerster opened this issue 7 years ago • 4 comments

As the title states, updated gitlab and also this redis image leads to

Fatal error, can't open config file '/etc/redis/redis.conf'

cwildfoerster avatar Jan 26 '18 18:01 cwildfoerster

I am unable to reproduce this issue. Can you please execute the following command:

docker run -it --rm sameersbn/redis:latest

If you notice the issue, then can you try pulling the most recent build with docker pull sameersbn/redis:latest and retry the above command.

Do let me know the results. Thanks!

sameersbn avatar Jan 27 '18 06:01 sameersbn

strangly running your image directly throws no error. but i in the meantime i could boil it down to the usermapping:

  redis:
    restart: always
    image: sameersbn/redis:latest
    command:
    - --loglevel warning
    volumes:
    - /docker/gitlab/redis:/var/lib/redis
    environment:
    - USERMAP_UID=1011
    - USERMAP_GID=1013

without the usermapping it works, with it it doesnt, strange since it should not have changed...

cwildfoerster avatar Jan 27 '18 16:01 cwildfoerster

@cwildfoerster the same for me!

fox91 avatar Jan 31 '18 15:01 fox91

@cwildfoerster the same for me!

Using on Synology. Without user mappings it works.

hermesck avatar Jan 05 '19 19:01 hermesck