Minecraft: Bedrock Edition · Docker
Create a Compose file
Choose your Bedrock settings, copy the finished file, and start your server.
What do I do with the generated file? +
- 1Install Docker and Docker Compose on the target computer or server.
- 2Save the generated file as compose.yml in a new folder.
- 3Make sure UDP ports 19132/udp and 19133/udp are allowed through Docker, the host firewall and your provider firewall.
- 4Start the server with docker compose up -d and follow startup with docker compose logs -f.
- 5Open Minecraft Bedrock, add the host address and port 19132, and verify that the world data persists after a restart.
Bedrock operational notes
Bedrock uses UDP. A TCP-only firewall rule will not make the server reachable.
The /data mount contains the server package, properties, worlds, permissions and packs. Keep it persistent and back it up.
Use docker compose exec bds send-command COMMAND or attach to the container console. SSH console access is optional and must also expose port 2222/tcp.
Open the official itzg Bedrock documentation