Sign inSign up

darknessplx/papermc-server

By darknessplx

•Updated 3 months ago

PaperMC Minecraft 1.21.4 server image, built on alpine Java 21, optimized to only 476.83 mb size

Image
Networking
Languages & frameworks
0

84

darknessplx/papermc-server repository overview

⁠PaperMC Minecraft Server Docker Image

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.

⁠Key Features

  • Minimal Footprint: Total image size is reduced to 476.83 MB using Alpine Linux.
  • Java 21 Runtime: Powered by the lightweight Eclipse Temurin JRE base.
  • Automated Setup: Automatically accepts the Minecraft EULA on initialization.
  • Font Support: Includes system fonts required by advanced server plugins.

⁠Environment Variables

You can configure the server performance and networking using these environment variables:

VariableDefault ValueDescription
SERVER_PORT25565The network port the Minecraft server listens on.
SERVER_MEMORY2GThe amount of RAM allocated to the Java process (e.g., 2G, 4G).

⁠Quick Start

⁠Build the Image
docker build -t papermc-server .
⁠Run the Container
docker run -d \
  -p 25565:25565 \
  -e SERVER_PORT="25565" \
  -e SERVER_MEMORY="4G" \
  --name minecraft-server \
  papermc-server

⁠Technical Details

  • Base Image: alpine/java:21-jre
  • Working Directory: /papermc
  • PaperMC Version: 1.21.4 (Build 232)
  • Default Launch Flags: --host 0.0.0.0 --nogui

Tag summary

Content type

Image

Digest

sha256:25d837c7b…

Size

164.1 MB

Last updated

3 months ago

docker pull darknessplx/papermc-server:1.21.4