Bob-omb Posted August 2 Share Posted August 2 I have made a docker app that seems to be working fine if I run it manually. For example: docker run -d -v /mnt/user/appdata/myapp/config:/CONFIG -v /mnt/user/appdata/myapp/downloads:/DOWNLOADS --name myapp myapp However, if I try to run it with a template XML file, I get a lot of permission errors: mkdir: cannot create directory ‘/root’: Permission denied Setting up watches. Watches established. crontab: your UID isn't in the passwd file. bailing out. crontab: your UID isn't in the passwd file. bailing out. crontab: your UID isn't in the passwd file. bailing out. crontab: your UID isn't in the passwd file. bailing out. crontab: your UID isn't in the passwd file. bailing out. crond: can't open or create /var/run/crond.pid: Permission denied Setting up watches. Watches established. I am completely new to Docker and I have very limited knowledge of Linux. So my question is, really, how do I deploy a docker app in Unraid and manage the appropriate permissions? For example: Which user should I use in the docker app? Which user should I add to the Unraid template XML? Should I upload the source files to a share using my SMB user? Seems like this will mess up the permissions when trying to install the app. I really need some general advice on how to go about this I have basically no clue and I have exhausted ChatGPT. Quote Link to comment
Frank1940 Posted August 2 Share Posted August 2 (edited) Look Here: https://forums.unraid.net/topic/131730-update-from-69-to-6115-and-got-permission-denied/#comment-1219731 And this is from one of my Dockers: This is screenshot from the Edit Container for the Docker container on the DOCKER tab. You may have to add the variables to the container if they do not exist. This is what the configuration panel looks like filled out: Edited August 2 by Frank1940 Quote Link to comment
Bob-omb Posted August 2 Author Share Posted August 2 Thanks for the suggestion. I still get the same error. Quote Link to comment
Frank1940 Posted August 2 Share Posted August 2 Then go to this thread and look at the Threads there. (If you don't find the answer, request a moderator to move your thread there as there should be some Guru who has the answer.) https://forums.unraid.net/forum/58-docker-engine/ Quote Link to comment
Bob-omb Posted August 4 Author Share Posted August 4 Tried to ask mods to move it yesterday. Waiting... Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.