- Minimalistic and simple to configure
- Works out-of-the-box. Defaults are provided if no volume is mounted
- Based on the Official OpenJDK Alpine image
- Base image for Minecraft SpongeVanilla
1.12
,1.12.1
,1.12.2
,latest
(Dockerfile)1.11.2
(Dockerfile)
Get the latest version:
docker pull terencewestphal/minecraft:latest
Get a specific version:
docker pull terencewestphal/minecraft:1.12.2
Build the latest Minecraft version and tag the image:
docker build -t minecraft .
Optional: Build with a specific Minecraft version:
docker build --build-arg VERSION=1.12.2 -t minecraft .
Run with default settings:
docker run -d -p 25565:25565 --name minecraft terencewestphal/minecraft
Run with volume mounted:
docker run -d -p 25565:25565 -v $PWD/defaults:/srv/minecraft --name minecraft terencewestphal/minecraft
Attach an interactive console in order to use the Minecraft server commands:
docker attach minecraft