Empowering everyone to host fast and efficient Minecraft servers.
docker pull pumpkin-mc/pumpkin
docker run -d --name pumpkin -p 25565:25565 --restart always pumpkin-mc/pumpkin:latest
podman run -d --name pumpkin -p 25565:25565 --restart always pumpkin-mc/pumpkin:latest
skopeo inspect docker://docker.io/pumpkin-mc/pumpkin:latest
oras pull pumpkin-mc/pumpkin:latest
docker compose up -d
services:
pumpkin:
# Make sure to change the tag to the pumpkin version you want to use.
# https://github.com/Pumpkin-MC/Pumpkin/pkgs/container/pumpkin/versions?filters%5Bversion_type%5D=tagged
#image: ghcr.io/pumpkin-mc/pumpkin:master
build: .
ports:
- "25565:25565"
- "19132:19132/udp"
volumes:
# Pumpkin runs as UID/GID 2613. On Linux hosts, make sure the data
# directory has the correct ownership before starting the server:
# mkdir -p ./data
# sudo chown -R 2613:2613 ./data
- ./data:/pumpkin
# As an alternative, Docker can manage the storage volume. Existing
# installations must migrate ./data before switching to avoid creating
# a new, empty world:
# - pumpkin-data:/pumpkin
# Use the following mount if you want to make your config immutable.
# - ./pumpkin.toml:/pumpkin/pumpkin.toml:ro
security_opt:
- no-new-privileges:true
restart: unless-stopped
stdin_open: true
tty: true
cap_drop:
- ALL
read_only: true
# Uncomment this section when using the pumpkin-data volume above.
# volumes:
# pumpkin-data: