luanti-org/luanti

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

Open

#14,989 opened on Aug 16, 2024

View on GitHub
 (2 comments) (0 reactions) (0 assignees)C++ (2,395 forks)auto 404
@ Startup / Config / UtilBuggood first issue

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 --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.

Contributor guide