-
Notifications
You must be signed in to change notification settings - Fork 576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permission Denied on RDB file #226
Comments
The entrypoint script applies appropriate permissions to the $WORKDIR, which in your case is $ docker-compose up -d
WARNING: The Docker Engine you're using is running in swarm mode.
Compose does not use swarm mode to deploy services to multiple nodes in a swarm. All containers will be scheduled on the current node.
To deploy your application across the swarm, use `docker stack deploy`.
Creating network "redis_app-network" with driver "bridge"
Creating volume "redis_redisdata" with local driver
Creating redisserver ... done
$ docker exec -it redisserver ash
/data # redis-cli config get dir
1) "dir"
2) "/data" What's the output when you run |
In the case of Redis being compromised, do you have any suggestion to resolve the issue? |
The best option is to just scrap that container/volume and start a new clean one. You could also try searching through the But yeah as noted in https://github.com/docker-library/docs/tree/master/redis#security
And #140 (comment) it is very easy to "hack" a redis server and change files: http://antirez.com/news/96.
|
I ' am getting an error on your docker image says "Permission Denied"
Here is my docker-compose.yml config
Here is the error i encounter
Failed opening the RDB file dump.rdb (in server root dir /etc/crontabs) for saving: Permission denied
The text was updated successfully, but these errors were encountered: