English doc | Older version | ä¸æ–‡æ–‡æ¡£
This documentation is for image lomot/minecraft-bedrock:1.21.22.01
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:1.21.22.01
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:1.21.22.01
docker attach mcpe
To quit, press ctrl + p + q
Use ctrl + c
or ctrl + d
to 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/