System requirements
Minimum requirements
- CPU: 2 cores
- RAM: 2GB
- Storage: 1GB for server files, plus space for worlds
- OS: Linux, macOS, or Windows
Recommended requirements
- CPU: 4+ cores
- RAM: 4GB or more
- Storage: SSD with 10GB+ available
- Network: Stable internet connection for online mode
Software requirements
- For Docker: Docker 20.10+ and Docker Compose 2.0+ (optional)
- For source builds: Rust 1.89+ and Cargo
- For running: Minecraft Java Edition 1.21.11 (clients)
Installation methods
Docker
Recommended for most users
From source
Best for development
Pre-built binary
Quick setup (when available)
Docker installation
Docker is the recommended installation method for most users. It provides isolation, easy updates, and consistent behavior across platforms.Prerequisites
Install Docker and Docker Compose:Using Docker run
Run Pumpkin with a single command:-d: Run in background (detached mode)--name pumpkin: Container name for easy reference-p 25565:25565: Expose Java Edition port-p 19132:19132/udp: Expose Bedrock Edition port-v $(pwd)/pumpkin-data:/pumpkin: Mount volume for persistent data-e RUST_BACKTRACE=1: Enable backtraces for debugging--restart unless-stopped: Auto-restart on crashes
Using Docker Compose
For production deployments, use Docker Compose:Create docker-compose.yml
Create a
docker-compose.yml file:docker-compose.yml
This configuration includes security best practices like dropping capabilities and running with a read-only filesystem.
Building Docker image locally
To build the Docker image yourself:- Builder stage: Compiles Pumpkin from source using
rust:1-alpine3.23 - Runtime stage: Creates minimal Alpine-based image with just the binary
Building from source
Building from source gives you the latest features and allows customization.Install Rust
Clone and build
Build in release mode
Compile Pumpkin with optimizations:This will:
- Download and compile all dependencies
- Apply release optimizations (LTO, single codegen unit)
- Take 5-15 minutes on first build
- Produce a binary at
target/release/pumpkin
Release builds are 10-100x faster than debug builds. Always use
--release for running a server.Development build
For development and testing:Pre-built binaries
Pre-built binaries will be available for stable releases. Currently, Pumpkin is in active development, so building from source or using Docker is recommended. Check the GitHub Releases page for available downloads once the first stable version is released.Post-installation setup
After installing Pumpkin, configure your server:Configuration files
Pumpkin creates two configuration files in theconfig directory:
Directory structure
Pumpkin creates the following directory structure:Firewall configuration
Open the required ports in your firewall:Updating Pumpkin
Docker
Update to the latest version:From source
Pull the latest changes and rebuild:Always back up your world and configuration files before updating.
Uninstalling
Docker
Remove the container and images:From source
Simply delete the Pumpkin directory:Troubleshooting
Rust version too old
Update Rust to the latest stable version:Build fails with linker errors
Install build dependencies:Permission denied (Docker)
Add your user to the docker group:Port already in use
Find and stop the process using the port:Next steps
Configuration
Configure your server settings
World Management
Set up and manage your worlds
Commands
Learn available server commands
Deployment
Deploy to production
