sameersbn / docker-redis

Dockerfile to create a Docker container image for Redis.
MIT License
156 stars 140 forks source link

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

Open cwildfoerster opened 6 years ago

cwildfoerster commented 6 years ago

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

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

sameersbn commented 6 years ago

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!

cwildfoerster commented 6 years ago

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...

fox91 commented 6 years ago

@cwildfoerster the same for me!

hermesck commented 5 years ago

@cwildfoerster the same for me!

Using on Synology. Without user mappings it works.