Describe the problem
I tried using the type based deployment from the GTNH Wiki but it just fails on me with this error
Error: could not open `java9args.txt'
Container definition
# Based on gtnh example deployment
# Source https://github.com/itzg/docker-minecraft-server/blob/master/examples/gtnh/docker-compose-type-gtnh.yaml
services:
mc:
# make sure this java version matches with pack java version
image: itzg/minecraft-server:java25
tty: true
stdin_open: true
ports:
- "25565:25565"
environment:
EULA: "TRUE"
TYPE: GTNH
GTNH_PACK_VERSION: "2.9.0-beta-2"
# Enable to delete old config backups
# GTNH_DELETE_BACKUPS: true
# Use to prevent updates
SKIP_GTNH_UPDATE_CHECK: true
MEMORY: 6G
# Bring in standard extra mods described at https://wiki.gtnewhorizons.com/wiki/Additional_Mods
# MODS: |
# https://github.com/Kynake/BetterFoliage/releases/download/1.2.1/BetterFoliage-LegacyEdition-1.2.1.jar
# Dump content of server.properties file at start (useful for debugging)
DUMP_SERVER_PROPERTIES: "TRUE"
# Set Whitelist
WHITELIST: |
$ME
# Set Administrators
OPS: |
$ME
volumes:
# attach a managed volume, change to a relative or absolute host directory if needed
- mc-data:/data
Container logs
[init] Running as uid=1000 gid=1000 with /data as 'drwxr-xr-x 2 1000 1000 4096 Aug 13 11:46 /data'
[init] Image info: buildtime=2026-08-08T21:55:36.399Z,version=java25,revision=9b12eb6a6c02a40b0c5acc643659323f2286cfbb
[init] Applying GTNH optimized server defaults
[init] TYPE=GTNH, setting Minecraft version to 1.7.10
[init] SKIP_GTNH_UPDATE_CHECK=true ... Skipping GTNH Update/Install
[init] Copying any mods from /mods to /data/mods
[init] Copying any configs from /config to /data/config
[init] Enabling whitelist functionality
[mc-image-helper] 12:04:26.270 INFO : Created/updated 1 property in /data/server.properties
[init] Setting initial memory to 6G and max to 6G
[init] Starting the Minecraft server...
Error: could not open `java9args.txt'
2026-08-13T12:04:32.111Z WARN mc-server-runner Minecraft server failed. Inspect logs above for errors that indicate cause. DO NOT report this line as an error. {"exitCode": 1}
2026-08-13T12:04:32.111Z INFO mc-server-runner Done
Describe the problem
I tried using the type based deployment from the GTNH Wiki but it just fails on me with this error
Error: could not open `java9args.txt'
Container definition
Container logs