luanti-org/luanti

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

开放

#14,989 创建于 2024年8月16日

 (2 条评论) (0 个反应) (0 位负责人)C++ (2,395 个派生)auto 404
@ Startup / Config / UtilBuggood first issue

仓库指标

星标
 (13,341 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南