Replies: 3 comments 8 replies
-
what about the built in node user that the node image creates? |
Beta Was this translation helpful? Give feedback.
-
also this would require cloning it yourself and building it for your platform, right? going via dockerhub wouldn't work |
Beta Was this translation helpful? Give feedback.
-
also, for the created permissions, i think i read that the host os always handles the permissions, so when you mount a folder to the docker container, it retains the same permissions within. i no longer run chown/chmod on the data directory, so it should keep the same ones throughout. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/MrBrax/TwitchAutomator/blob/2d94852e32fa939c3eb4ff84ca50b7e75188d725/Dockerfile#L33
Could you change this a bit so this here works, I hope this would solve all problems with Docker:
Example:
Because then we could use somthing like this when building the docker:
--build-arg USER_ID=$(id -u)
--build-arg GROUP_ID=$(id -g) .
To get the correct user for everything.
No need to use “chown”, and no annoying permission errors anymore!
Here is the link where I got this from: here
Beta Was this translation helpful? Give feedback.
All reactions