Closed j4c3 closed 3 years ago
Cool. Hopefully it doesn't mess with anything else in there for you. You'd mentioned putting the user in the Dockerfile, but I think to make it portable, it has to be pushed back to where users can define environmental variables to pass the ids.
So this changes the ownership to 9001:9001 of every file on the local storage, correct? Why is this better? I think this is because of this, isn't it: https://github.com/mtoensing/Docker-Minecraft-PaperMC-Server/commit/5425142fb70f973ddd026f3b370519988946beef#diff-79738685a656fe6b25061bb14181442210b599f746faeaba408a2401de45038aR15
Can you please explain to me why this is a good idea?
If you've run it without the PUID/PGID variables, it sets them to that as a default, so as to not give them permissions with some user/group that may already exist on the host system.
Thank you!
I'll test this on the beta branch. Thanks https://github.com/mtoensing/Docker-Minecraft-PaperMC-Server/tree/beta