-
-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removed root processes #216
Removed root processes #216
Conversation
Still in progress. |
Would it be possible to port these changes to a true rootless container? Like the one https://github.com/CM2Walki/steamcmd offers? |
Yes. Now if we do that we have two options.
Now the big change by switching to a rootless container would be everyone would need to change from PUID/PGID to |
@thijsvanloef There is no advantage to switching from cm2network/steamcmd:root to cm2network/steamcmd:steam as we would have to change to root in the dockerfile to install packages then switch back to steam. If you want to move forward on dropping PUID/PGUID and running with |
Yeah I believe that is why I opened this repo with the base image with the I want to keep the PUID/PGUID as that keeps it backwards compatible, and close to the linuxserver.io standard. |
…cesses Removed root processes
Context
--user
but still runs with PUID & GUID.Choices
Test instructions
Important
You must set user to
NUMBERICAL_UID:NUMBERICAL_GID
To find your UID run
id -u
& to find your GID runid -g
. In the examples they are listed as 1000:1000.If you wish to run it as a different UID/GID this can by done by changing the ownership:
chown UID:GID palworld/
or by changing the permissions for all other:
chmod o=rwx palworld/
docker exec palworld-server rcon-cli showplayers
docker exec palworld-server backup
docker exec -t palworld-server top -n 1
docker exec -t palworld-server bash -c "top -n 1 | grep --color supercronic"
Checklist before requesting a review