-
Notifications
You must be signed in to change notification settings - Fork 34
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 issue #43
Comments
Did build the container yourself? |
No, I pulled it from the repository. |
Well, that worked for me. But when building it on my own I had the same error and I could fix it by modifying the Dockerfile: |
I found the "solution" (not really what I wished for): The user inside of docker has the id 999, so I had to chown -R 999:999 the /srv/fdroid directory outside of docker so that it can read it. |
I run my container with UID=99 and GID=100 While this is a workaround the host OS will have trouble accessing those files. |
@Exist2Resist currently, to change that you can edit the Dockerfile and rebuild the image. @Findus23 there are some docker images that do this automatically by using a shellscript as the entrypoint (e.g. postgres and fireflyIII). In my RPi I created a shellscript to do the pre-checks (path exists and is owned by 999:999) and start the container. |
see also #42 (comment)
Since f3828fd the container doesn't start anymore.
After deleting the container and
/srv/fdroid
on every start I only get the following error:I think this has something to do that
/srv/fdroid
(outside of the container) is only readable by root,and I think this line only runs on container creation and not when starting the container.
playmaker/Dockerfile
Line 45 in a97fd9e
But I know too little about how docker works correctly to suggest a solution.
The text was updated successfully, but these errors were encountered: