Open rusagent opened 4 years ago
Because teamspeak will not run as root (as it should) and thus has to change the permissions to be able to operate: https://github.com/TeamSpeak-Systems/teamspeak-linux-docker-images/blob/master/alpine/entrypoint.sh#L4
You should be able to set another uid (!=0), though.
You should be able to set another uid (!=0), though.
The Dockerfile would need to take environment variables for this into account, e. g. PUID
for the user ID and PGID
for the group ID.
https://github.com/TeamSpeak-Systems/teamspeak-linux-docker-images/blob/master/alpine/Dockerfile#L5-L6
I'd be happy to see this implemented.
Cross-ref: issue #51
Hey guys,
this is how it looks like:
Why are the permissions always changed and don't stay with root?