magnia/papermc

By magnia

Updated about 9 hours ago

This Docker image runs PaperMC, a fork of the Minecraft server software.

Image

10K+

日本語版 README はこちら

PaperMC Docker Container

About This Image

This Docker image runs PaperMC, a fork of the Minecraft server software.

Tagging Policy

If you specify a Minecraft version as a tag, the latest build will be fetched. To get a specific build, append -${BUILD_NUMBER} to the version.

Usage

MINECRAFT_VERSION="1.21.1"
# For a specific build tag
# BUILD_NUMBER="123"
# MINECRAFT_VERSION="1.21.1-${BUILD_NUMBER}"
docker run -d \
  -p 25565:25565 \
  -e EULA=true \
  -v /path/to/data:/opt/PaperMC/data \
  --name papermc \
  magnia/papermc:${MINECRAFT_VERSION}

Environment Variables

  • EULA (default: empty): Set to true to agree to the Minecraft EULA.
  • JAVA_ARGS (default: -Xms4G -Xmx4G): Configure Java arguments.

Volumes

  • /opt/PaperMC/data: Stores necessary PaperMC data, including server.properties and world data.

Docker Pull Command

docker pull magnia/papermc