Skip to content

Permission Denied on RDB file #226

Closed
@leond08

Description

@leond08

I ' am getting an error on your docker image says "Permission Denied"

Here is my docker-compose.yml config

version: '3'
services:

  #Redis Service
  redisserver:
    image: redis:5.0.6-alpine
    container_name: redisserver
    restart: always
    tty: true
    ports: 
      - "6379:6379"
   working_dir: /data
    volumes:
      - redisdata: /data
      - /etc/localtime:/etc/localtime
    networks:
      - app-network
 

#Docker Networks
networks:
  app-network:
    driver: bridge

#Volumes
volumes:
  redisdata:
    driver: local

Here is the error i encounter

Failed opening the RDB file dump.rdb (in server root dir /etc/crontabs) for saving: Permission denied

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionUsability question, not directly related to an error with the image

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions