A Docker implementation of the Minecraft Bedrock Server. The container is built by a CI pipeline that checks daily for new versions. Container is available via both Docker Hub and GitHub Container Registry.
Quick Start
docker run -d -e EULA=TRUE -p 19132:19132/udp ghcr.io/acbgbca/minecraft-bedrock
With mounted volumes:
docker run -d -e EULA=TRUE -p 19132:19132/udp -v minecraft_config:/config -v minecraft_worlds:/worlds ghcr.io/acbgbca/minecraft-bedrock
version: "3.7"
services:
minecraft:
image: ghcr.io/acbgbca/minecraft-bedrock:latest
container_name: minecraft
environment:
- EULA=TRUE
volumes:
- ./config:/config
- ./worlds:/worlds
restart: 'unless-stopped'
ports:
- 19132:19132/udp
EULA
: must be set toTRUE
to indicate acceptance of the Minecraft End User License AgreementUID
: the ID of the user to run the service as. Defaults to 1000GID
: The ID of the group to run the servie as. Defaults to 1000
- 19132: Default Minecraft port, can be changed in server.properties. Must be mapped as
/udp
or else the client can't connect
/config
: Where the Minecraft config files are stored. Directory will be initialised on first run/worlds
: Where the world data is stored
latest
: always points to the latest version1.20
: The latest 1.20 releasealpha
: used for testing changes to the container
Each container is also tagged with the exact version of the Bedrock Server it contains.