a bedrock minecraft PE Server on docker (MCPE)
1M+
English doc | Older version | 中文文档
apt install docker.io
or you can follow this documentation : How to install Docker
This folder is for your world data and some configuration files, it contains permissions.json,server.properties,allowlist.json,worlds, if you use an empty folder, all the files will be created automatically, for example /opt/mcpe-data
mkdir -p /opt/mcpe-data
docker run -itd --restart=always --name=mcpe --net=host \
-v /opt/mcpe-data:/data \
lomot/minecraft-bedrock:latest
Backup the folder /opt/mcpe-data
cp -r /opt/mcpe-data /opt/mcpe-data.bak
docker container stop mcpe
docker container rm mcpe
docker run -itd --restart=always --name=mcpe --net=host \
-v /opt/mcpe-data:/data \
lomot/minecraft-bedrock:latest
docker attach mcpe
To quit, press ctrl + p + q
Use ctrl + c or ctrl + dto kill the process
docker container stop/start/restart/rm mcpe
To change the server port, update server-port in the fileserver.properties
Using bridge networks will decrease the network performance, it is supposed to use host networks.
There are too many files about addons to configure, so I made another image, to use this image, you need to manage server folder by yourself, such as update and configuration files, you can download the server files here Minecraft server.
How to use:
docker run -itd --restart=always --name=mcpe --net=host \
-v /opt/mcpe-data:/mcpe \
lomot/minecraft-bedrock:base
https://minecraft.net/en-us/download/server/bedrock/
https://hub.docker.com/r/lomot/minecraft-bedrock
Content type
Image
Digest
sha256:75738eac7…
Size
175.3 MB
Last updated
4 days ago
docker pull lomot/minecraft-bedrock