From 3616847e8e8a2c8503ecefb53732f594a2d8ad8a Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Sat, 31 May 2025 10:02:53 -0500 Subject: [PATCH] Generalize info about UID/GID (#3474) --- docs/configuration/misc-options.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/docs/configuration/misc-options.md b/docs/configuration/misc-options.md index 1d89a826..fb68e2ea 100644 --- a/docs/configuration/misc-options.md +++ b/docs/configuration/misc-options.md @@ -24,14 +24,9 @@ docker run -d -v /path/on/host:/data \ ## Running as alternate user/group ID -By default, the container will switch to user ID 1000 and group ID 1000; -however, you can override those values by setting `UID` and/or `GID` as environmental entries, during the `docker run` command. +By default, the container will switch to and run the Minecraft server as user ID 1000 and group ID 1000; however, that can be changed by setting the environment variables `UID` and `GID`. - -e UID=1234 - -e GID=1234 - -The container will also skip user switching if the `--user`/`-u` argument -is passed to `docker run`. +The startup will also skip user switching if the `--user`/`-u` argument is passed to `docker run` or `user` is set on the compose service. ## Extra Arguments