Base image for Nefald Minecraft servers: Temurin JRE 17/21, rcon-cli, Aikar's flags.
2.1K
Minimal base image for Nefald Minecraft servers. Provides a JRE runtime with the minecraft user, rcon-cli, and an optimised entrypoint. Not meant to be used directly — extend it to add a server JAR (see nefald/paper).
| Tag | Java | Base OS |
|---|---|---|
latest | 21 LTS | Ubuntu 22.04 (Jammy) |
java21 | 21 LTS | Ubuntu 22.04 (Jammy) |
java17 | 17 LTS | Ubuntu 22.04 (Jammy) |
Built on eclipse-temurin (the official successor to openjdk). Rebuilt automatically every Sunday at 03:00 Europe/Paris to pick up security updates.
| Variable | Default | Description |
|---|---|---|
INIT_MEMORY | 2G | JVM initial heap (-Xms) |
MAX_MEMORY | 2G | JVM max heap (-Xmx) |
TZ | Europe/Paris | Container timezone |
The server runs as minecraft (uid/gid 1000).
| Path | Role |
|---|---|
/data | Server data directory (mount a volume here) |
/opt/minecraft/server.jar | Server JAR — provided by the child image |
Exposed port: 25565/tcp+udp
FROM nefald/minecraft-base:latest
ENV SERVER_TYPE="MyServer"
COPY server.jar /opt/minecraft/server.jar
The entrypoint uses Aikar's optimised G1GC flags out of the box.
Maintained by Nefald Community · Discord
Content type
Image
Digest
sha256:92c624e05…
Size
97.5 MB
Last updated
6 days ago
docker pull nefald/minecraft-base