# Minecraft

Minecraft is a Docker container for running Minecraft Java Edition servers, supporting vanilla, Bukkit, Forge, NeoForge, Fabric, and Quilt server types on OpenJDK 21 or 25, and auto-updating vanilla versions on restart. It is open source and self-hosted, installable on TrueNAS, Kubernetes (Helm), Unraid and Docker Hub.

Canonical page: https://ourlocalhost.com/app/3060/minecraft

## Description

Minecraft is a Docker container for running Minecraft Java Edition servers, supporting vanilla, Bukkit, Forge, NeoForge, Fabric, and Quilt server types on OpenJDK 21 or 25, and auto-updating vanilla versions on restart for self-hosters seeking low-maintenance, mod-friendly hosting.

## Platform availability

Available on 3 of 10 platforms: Unraid, TrueNAS, Helm.

## Health score

74/100 (Good), based on 5 of 5 factors.
- Maintained: 100 (last commit 0 days ago)
- Popular: 83 (14,566 GitHub stars)
- Easy to install: 55 (3 install platforms, install notes, Docker image)
- Light to run: 10 (8 GB minimum RAM)
- Security check: 80 (no serious findings, CI, tests, OpenSSF Scorecard 5.8/10)

## Links

- TrueNAS: https://apps.truenas.com/catalog/minecraft/
- Kubernetes (Helm): https://artifacthub.io/packages/helm/minecraft-server-charts/minecraft
- Official website: https://www.minecraft.net/
- Unraid: https://ca.unraid.net/apps/minecraft-1f7gw0f155yirv?q=Minecraft
- GitHub: https://github.com/itzg/docker-minecraft-server
- Documentation: https://docker-minecraft-server.readthedocs.io/en/latest/
- Docker Hub: https://hub.docker.com/r/itzg/minecraft-server/

## Common questions

### How do I accept the Minecraft license so the container starts?

Set EULA=TRUE in your server settings before starting the container. Minecraft will not start until you accept the game's license agreement.

### How do I keep my world, settings, and player data from being lost?

Point the container's /data folder to a folder on your computer, such as ./data:/data. If you skip this, your world, settings, and player data can disappear when the container is removed or rebuilt.

### Why can't friends connect to my running Minecraft server?

Map the Minecraft game port 25565 on your machine, for example with -p 25565:25565. If this port is not open, friends cannot connect to your server even if it is running.

### How can I handle mods and plugins in this Docker Minecraft setup?

You can manage mods and plugins with automated downloads and cleanup. The project also supports using various modpack providers and platforms for Java Edition.

## Alternatives

- Garry's Mod: Garry's Mod is a Sandbox Game based around the idea of building.
- Hytale: Sandbox adventure merges procedural worlds, dungeons, block-building, responsive combat, and creator-focused tools for crafting minigames a…
- LEGO Worlds: Galaxy of procedural worlds made entirely from LEGO bricks.
- Luanti (formerly Minetest): Luanti is a near-infinite-world block sandbox game and a game engine, inspired by InfiniMiner, Minecraft, and the like.
- MCRAFT.FUN: Free, online, compatible and open source Minecraft web client with ability to connect to Java servers and load or create single player worl…
- Polytoria: Polytoria is a free-to-play platform and website similar to Roblox.
- Terasology: Terasology (started under the name Blockmania) is an open source project started by Benjamin “begla” Glatzel to research procedural terrain…
- Veloren: Veloren is a multiplayer voxel RPG written in Rust.
- Vintage Story: A Docker container that hosts a dedicated Vintage Story multiplayer server and automatically installs the game while checking for version u…
- eaglercraft: Minecraft is a game about breaking and placing blocks.

---
Source: Our Local Host (https://ourlocalhost.com/app/3060/minecraft), the self-hosted and open-source app directory.
