Minecraft Bedrock Server with Podman
February 27, 2025
There is a minecraft bedrock server image over at github https://github.com/itzg/docker-minecraft-bedrock-server maintained by Geoff Bourne. Here is how to run it with podman.
First, install podman if you haven't already.
Other useful commands with podman, to stop and start or remove the container, or to look up running statistics.
First, install podman if you haven't already.
apt-get install podman
Pull the latest image of minecraft-bedrock-server from docker.io
podman pull docker.io/itzg/minecraft-bedrock-server
Create a 'pod' with port forwarding. This is like a grouping of 'pods' or pod containers. We'll call it 'minecraft' and setup default minecraft tcp/upd port forwarding.
podman pod create --name minecraft -p 19132:19132 -p 19132:19132/udp
We're now ready to run the container
podman run -d `# run in the background` \
-it `# keep stdout interactive` \
-v ./minecraftdata:/data `# expose local folder with minecraft world and configs` \
-e EULA=TRUE `# accept EULA` \
--pod=minecraft `# using the pod grouping created above` \
--name=minecraft_creative `# name this container` \
--restart=unless-stopped `# restart when container hangs` \
itzg/minecraft-bedrock-server `# the minecraft docker image we're running`
And thats it! Our very own, local minecraft server with podman, try joining the world from a client.
Other useful commands with podman, to stop and start or remove the container, or to look up running statistics.
podman stop minecraft_creative
podman start minecraft_creative
podman rm minecraft_creative
podman stats minecraft_creative
To connect to the tty of the container and examine the logs or stdout
podman attach minecraft_creative