luanti-org/luanti

Docker image won't read /etc/minetest/minetest.conf when arguments passed

Aperta

#14.989 aperta il 16 ago 2024

 (2 commenti) (0 reazioni) (0 assegnatari)C++ (2395 fork)auto 404
@ Startup / Config / UtilBuggood first issue

Metriche repository

Star
 (13.341 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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 --gameid you might try that you might try the following to use it: $ 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.

Guida contributor