lythx / trakman

Trackmania Forever server controller written in TypeScript
https://trakman.ptrk.eu
MIT License
24 stars 4 forks source link

Run docker as non-root #239

Closed felacek closed 7 months ago

felacek commented 7 months ago

Resolves #232 . Everything is set up as root still (to allow writing to volumes) but for the actual execution the user is switched to server (uid 1001). All files in volumes created by the server container have the write permission for everyone, therefore everything is easily modifiable/deleteable. The container is compatible with both docker and podman (with subuid's).