Lodestone-Team / lodestone_core

The backend for Lodestone, A free, open source server hosting tool for Minecraft and other multiplayers
https://www.lodestone.cc/
GNU Affero General Public License v3.0
60 stars 6 forks source link

Docker user #164

Open itsmexxie opened 1 year ago

itsmexxie commented 1 year ago

Description

The docker container is run with the user user. This cannot be changed and the UID and GID of the docker user cannot be specified. This leads to permission issues on mounted directories, to which the docker user doesn't have access. Of course, this could be solved by making the directories accessible to anyone and any group, but that's obviously not desired.

image

Imho I see two ways out of this. Either make the user root again, which makes it able to access any directory on the host fs, or implement some kind of environment variables to specify which UID & GID the docker user uses.

Stinky-c commented 1 year ago

I'm not a maintainer, but #161 should've have fixed this issue. Can you try building the image from source?