PaperMC Minecraft 1.21.4 server image, built on alpine Java 21, optimized to only 476.83 mb size
84
A lightweight, high-performance Docker image for a Minecraft server powered by PaperMC 1.21.4. This image is built on Alpine Linux and optimized for efficiency, resulting in a total size of only 476.83 MB.
You can configure the server performance and networking using these environment variables:
| Variable | Default Value | Description |
|---|---|---|
SERVER_PORT | 25565 | The network port the Minecraft server listens on. |
SERVER_MEMORY | 2G | The amount of RAM allocated to the Java process (e.g., 2G, 4G). |
docker build -t papermc-server .
docker run -d \
-p 25565:25565 \
-e SERVER_PORT="25565" \
-e SERVER_MEMORY="4G" \
--name minecraft-server \
papermc-server
Content type
Image
Digest
sha256:25d837c7b…
Size
164.1 MB
Last updated
3 months ago
docker pull darknessplx/papermc-server:1.21.4