How do I set internal docker container user? #7880
Unanswered
malibu1966
asked this question in
Help / Questions
Replies: 1 comment
-
|
It’s probably happening because the containers are being forced to run as user 1001, but Wiki.js and Postgres both expect to run as their own internal users. Wiki.js normally runs as UID 1000 and Postgres runs as UID 999, and changing that breaks permissions especially on NFS. If NFS has root-squash enabled, you may also need to adjust the export so Docker can set permissions, or create the directories with the correct ownership beforehand. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there, I am trying to use the requarks/wiki image to install wiki.js and I keep getting file permission errors. I have my volumes on an NFS mount and it is set up to be accessed by user 1001 but when I try to run compose up with those settings, wiki.js doesn't work. Is there a way to set the active user inside the container?
Here is my compose file:
Beta Was this translation helpful? Give feedback.
All reactions