Sign inSign up

josxha/minecraft-paper

By josxha

•Updated almost 2 years ago

Automatic Docker builds for Minecraft Paper server for amd64 and arm64.

Image
2

50K+

josxha/minecraft-paper repository overview

⁠Automatic Docker builds for Paper Minecraft

This repository checks automatically every hour for new paper server builds, builds new images with them and uploads them to the docker registry.

⁠Why to use this image

  • Easy to use and configure
  • Up to date with the latest paper builds
  • Much smaller image size compared to other paper images
  • Open source repository
  • Support for amd64 and arm64

⁠Get Started

  1. Install docker (docker docs⁠)
  2. Install docker-compose (docker docs⁠)
  3. Example content of your docker-compose.yml file:
version: '3'
services:
    minecraft:
        image: josxha/minecraft-paper:latest # or e.g. 1.18.1
        container_name: minecraft
        restart: unless-stopped
        ports:
            - 0.0.0.0:25565:25565
        volumes:
            - ./data:/data:rw
        # user: 25565:25565
        environment:
            - TZ=Europe/London
            - RAM=4G
  1. (optional) If you want to run the container not as root
    1. uncomment the line user: 25565:25565
    2. create the data directory with mkdir ./data
    3. change the directory permissions with sudo chown 25565:25565 ./data
  2. Run docker-compose up -d in the directory of your docker-compose.yml file.
  3. (optional) Use watchtower⁠ to keep your container up to date with the latest image build automatically.

⁠Image Tags

  • latest: Newest minecraft version with the latest paper build
  • 1.18-latest, 1.17-latest, etc. for the latest paper build of this major minecraft version
  • 1.18.1, 1.18, 1.17.1, etc. for the latest paper build of this minecraft version
  • minecraftVersion-paperBuild to use specific paper build

See all the available tag here⁠.

Tag summary

Content type

Image

Digest

sha256:53508ca70…

Size

172.2 MB

Last updated

almost 2 years ago

docker pull josxha/minecraft-paper