-
Notifications
You must be signed in to change notification settings - Fork 297
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
Insufficient permissions in Docker #1127
Comments
Hey @ItsKiru, This means that the processes running inside the Docker container are attempting to write data to a location that is not writeable. See Docker's Use volumes documentation for more information regarding the available options for storing data in a persistent way. A common issue when bind-mounting volumes is managing user permissions, as the numeric user and group IDs might differ between the host running Docker and the guest container appliances. |
Hi @virtualtam, I gave the permission 777 by |
See my detailed answer on this previous issue: #1031 (comment)
Never ever do this...
This has no impact whatsoever, processes are run with user/group accounts that are local to the container, and usually have limited permissions. |
Closing due to lack of feedback, feel free to reopen. |
After making it 777, you can see the user and group the container is using internally
or
so adjust your host volume folder to match...
finally, reset perms to default
|
Hi,
When I try to launch Shaarli under docker with the command
docker run -d -p 8000:80 -v /srv/shaarli:/var/www/shaarli/data shaarli/shaarli
, I make a reverse proxy with NGINX and I get that error:And that's the docker logs:
I would to know why that error happen & how to fix it please...
Thanks !
The text was updated successfully, but these errors were encountered: