magnia/papermc
This Docker image runs PaperMC, a fork of the Minecraft server software.
10K+
This Docker image runs PaperMC, a fork of the Minecraft server software.
linux/amd64
, linux/arm64
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.
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}
true
to agree to the Minecraft EULA.-Xms4G -Xmx4G
): Configure Java arguments./opt/PaperMC/data
: Stores necessary PaperMC data, including server.properties
and world data.docker pull magnia/papermc