Docker image won't read /etc/minetest/minetest.conf when arguments passed
#14,989 opened on Aug 16, 2024
Repository metrics
- Stars
- (13,341 stars)
- PR merge metrics
- (PR metrics pending)
Description
Problems
$ docker run --rm -i ghcr.io/minetest/minetest
note: this reads the config from /etc/minetest/minetest.conf, which will become important later
this always fails because you don't have game
now you might go and add a bind mount for /var/lib/minetest/.minetest/games/minetest_game and try again.
problem 1: it still fails
since it tells you to use
you might try the following to use it:
--gameid you might try that$ docker run --rm -i ghcr.io/minetest/minetest --gameid minetest
problem 2: this overrides the builtin argument, and causes MT to read the config from /var/lib/minetest/.minetest/minetest.conf
wtf
Solutions
1. if no gameid is specified when creating a new world and there is exactly one game, just use it to make it easier for the user
2. this behavior should be fixed. our docs promise that /etc/minetest/minetest.conf is read.