A container image that downloads and runs Minecraft Java Edition servers, with environment-driven settings for versions, mod loaders, mods, and modpacks at startup.
Overview
This image wraps Mojang’s Minecraft Java server so operators can start a world through Docker or Docker Compose instead of manual jar management. On launch it can fetch a chosen server version, snapshot, or alternate server type and persist world data under a mounted /data path.
Configuration happens through container environment variables, including accepting the EULA, picking VERSION and TYPE, and tuning gameplay properties. The project documents mod and plugin downloads, multiple modpack platforms, and compose examples for longer-lived setups.
Java Edition is supported directly. Bedrock players require a separate Bedrock image or documented add-ons if you extend a Java server. Third-party hosting products and desktop helpers build on the same image for one-click or managed servers.
Typical deployment exposes port 25565 on the host, binds a host directory or volume to /data, and sets EULA=TRUE. Operators may upgrade the image and restart through Compose or Kubernetes when they want rolling configuration changes.
Key features
- Automatic server jar download
- Version and snapshot selection
- Mod loader and modpack support
- Environment-based server properties
- Persistent /data volume
- Docker Compose examples
- Plugin and mod management
- Multiple Java server types
Use cases
- Self-run Minecraft Java worlds
- Modded survival servers
- Private friend-group servers
- Homelab game hosting
- Repeatable server deployments