PaperMC in a docker container. PaperMC is a fork of the Minecraft Server API Spigot which aims to improve performance, reduce memory usage and to simplify aswell as to improve the API usage.
To find out more about Paper visit https://papermc.io/ or https://github.com/PaperMC/Paper
The package is available on Docker Hub as benpueschel/paper and on GitHub Container Registry as ghcr.io/benpueschel/paper-docker.
To automatically pull the image and run a container, use:
docker run -p 25565:25565 -d --rm --name my-paper-server \
-v my-paper-volume:/home/minecraft/paper \
benpueschel/paper
Container uses the following environment variables:
MC_VERSION: target minecraft version. defaults to latestPAPER_BUILD: target build. defaults to latestMIN_RAM: jvm min heap size (-Xms). Defaults to 256MMAX_RAM: jvm max heap size (-Xmx). Defaults to 1GJAVA_OPTS: extra options to be passed to the jvm. Defaults to Paper's recommended flags.First, clone the repository:
git clone https://github.com/benpueschel/paper-docker.git && cd paper-docker
Then build the image with:
docker build -t my-paper-image .
Finally, run the container with the custom image using:
docker run -p 25565:25565 -d --rm --name my-paper-server \
-v my-paper-volume:/home/minecraft/paper \
my-paper-image
Content type
Image
Digest
sha256:63ccc44e3…
Size
78.5 MB
Last updated
11 months ago
docker pull benpueschel/paper