Lightweight Docker/container images for Paper-based Minecraft servers.
NOTE: By running the following command, you accept Minecraft's EULA.
WARNING: The following container is ephemeral, meaning any changes made to it will be discarded.
$ docker run --rm -it \
  -e EULA=true \
  -e JVM_OPTS_EXTRA=--add-modules=jdk.incubator.vector \
  -p 25565:25565 \
  ghcr.io/cubxity/minecraft-server:pufferfish-1.19-temurin17-jammyNote:
JVM_OPTS_EXTRA=--add-modules=jdk.incubator.vectoris only required for Pufferfish.
--rmremoves the container on exit-ikeeps STDIN open-tallocates a pseudo-TTY-e EULA=truesets theEULAenvironment variable to true, signifying EULA agreement-p 25565:25565publish container port 25565 to the host on 0.0.0.0:25565
This image makes use of Aikar's flags by default. The data directory can be found at /data.
MEMORYdefaults to1GINIT_MEMORYInitial memory to allocate to the JVM. Defaults toMEMORYMAX_MEMORYMaximum memory to allocate to the JVM. Defaults toMEMORYJVM_XX_OPTS-XX JVM argument overridesJVM_OPTSJVM arguments (mainly memory) overridesD_OPTSJVM properties overridesJVM_XX_OPTS_EXTRA-XX JVM argument to appendJVM_OPTS_EXTRAJVM arguments to appendD_OPTS_EXTRAJVM properties to appendEULASignifies that you accept Minecraft's EULA. Accept by setting this variable totrue.
Implementation can be found in start.sh.
Tips: Set environment
JVM_OPTS_EXTRA=--add-modules=jdk.incubator.vectorto enable vector module for Pufferfish.
This repository provides Eclipse Temurin based container images for Pufferfish, Purpur, and Paper.
⚠️ AdoptOpenJDK (adopt*) and OpenJDK (java*) variants are deprecated in favor of Eclipse Temurin. Support for non-LTS versions may be dropped at any time.
⚠️ Airplane is discontinued. Please use Pufferfish, Paper, or Purpur instead.
Supports linux/amd64.
This image is based on Eclipse Temurin's Alpine image. The image format is suffixed with -temurin<version>-alpine.
Examples:
pufferfish-1.19-temurin17-alpinepufferfish-1.19-34-temurin17-alpine
Supports linux/amd64 and linux/arm64.
This image is based on Eclipse Temurin's Ubuntu Jammy Jellyfish image. The image format is suffixed with -temurin<version>-jammy.
Examples:
pufferfish-1.19-temurin17-jammypufferfish-1.19-34-temurin17-jammy