Modifying/removing files #2396
Unanswered
bitter-geek
asked this question in
Q&A
Replies: 1 comment 3 replies
-
|
I'm not sure where that uid of 100999 is coming from. Normally the container is run with default (root) user, it switches to uid 1000 first thing, and then files are managed as uid 1000. Something is different with your scenario, but it's hard to say what without seeing your compose file at least. |
Beta Was this translation helpful? Give feedback.
3 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.
-
I would like to be able to modify files created in a container. Currently, container files are created with UID/GID 100999:100999 and
rwxr-xr-xpermissions. If I adduser: 1000:1000into docker-compose.yml, I'm able to modify the files (my Linux username is UID 1000), but then I can't use RCON (the error is:/data/.rcon-cli.env: Permission denied).I've researched, and possible solutions I could think of (but not 100% how to implement) are:
rwxrwxr-x(not my favorite idea)This might be more of a generic "how do I properly use Docker" question, but there are some Minecraft-specific parts to it that matter. I am quite new to Docker; please be kind.
TIA!
Beta Was this translation helpful? Give feedback.
All reactions