Skip to content

Djaytan/docker-papermc-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

🐳 Docker PaperMC Server

Compatibility CI semantic-release: conventional-commits
Quality Gate Status OpenSSF Best Practices OpenSSF Scorecard
Docker Pulls

A general-purpose, OCI-compliant PaperMC server with streamlined and fine-grained customization options.

Available in Docker Hub.

πŸ’» Demonstration (20 seconds)

asciicast

πŸ“˜ Usage

For a quick start, you can run the following command:

$ docker run -d -it \
    --name papermc-server \
    --restart=always \
    -p 25565:25565 \
    -e EULA=true \
    'djaytan/papermc-server:latest'

Note

Available tags can be found here.

Important

Setting the EULA environment variable to true implies that you have read and accepted the Minecraft EULA.

Tip

For detailed instructions on running the server, including configuration options and best practices, check out the user guide.

✨ Highlights

  • πŸ”οΈ Alpine-based image
  • πŸͺΆ Lightweight – ~125 MB
  • 🧘 Minimalist – Includes only essential dependencies to reduce image size and surface area.
  • 🧩 Customizable – Streamlined and fine-grained configuration options.
  • πŸ“š Well-documented – Comprehensive and structured documentation covering features, configuration, and usage (link).
  • πŸ‘€ UID-agnostic – Supports running the server with a custom/arbitrary UID (typically required when running container in OpenShift).
  • πŸ” Rootless by default – Runs as a non-root user when no custom UID is specified.
  • 🧬 Multi-architecture support – Built for linux/amd64 & linux/arm64 (additional OSs/architectures available on request).
  • β˜• JRE 21 – Based on Eclipse Temurin.
    • Custom-built using jlink to minimize size.
    • Includes standard Java modules for broad plugin compatibility.
  • 🩺 Healthcheck integration – Enhances resilience and high availability by continuously monitoring server health.
  • πŸ” Frequent quality & security scans – Powered by SonarQube Cloud and Docker Scout.
  • πŸ”„ Scheduled auto-updates – Bi-monthly rebuilds to incorporate upstream security patches and new PaperMC builds. Other updates are tracked and semi-automatically managed via Renovate.
  • ☸️ Helm Chart – Easily deploy the server to Kubernetes using the reference Helm Chart.

🌍 Contributing

If you want to help us improve the project, you can learn more about ways to do so here.

Have a feature request? Don't hesitate to fill an issue!

🏷️ Versioning

This project follows Semantic Versioning.

The Docker tagging scheme is <mc-version>-v<image-version>-<timestamp-YYYYMMDD> (e.g. 1.21.4-v1.2.1-20250406)

πŸ”’ Security Policy

In case you think having found a security vulnerability, please consult our Security Policy.

πŸ“„ Licence

This project inherits its licensing from the included upstream projects. As such, it is licensed under the GNU GPL v3.0 license, as it inherits from PaperMC, which in turn inherits it from the original Bukkit and CraftBukkit projects.

The distributed OCI image is based on the Alpine one. As with all Docker images, these likely also contain other software which may be under other licenses. Details about Alpine packages can be found here.

As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.

About

A general-purpose, OCI-compliant PaperMC server with streamlined and fine-grained customization options.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •