English doc | Older version | ä¸æ–‡æ–‡æ¡£ | buy me a coffee
a bedrock minecraft PE Server on docker
this documentation is for image lomot/minecraft-bedrock:1.13.3.0
Start a server quickly
1. install docker on your server
apt install docker.io
or you can follow this documentation : How to install Docker
2. create folder for server data
this folder is for your map data and some configuration files, it contains permissions.json
,server.properties
,whitelist.json
,worlds
, if you use an empty folder, all the file will be created automatically, /opt/mcpe-data
for an example
mkdir -p /opt/mcpe-data
3. deploy the server
docker run -itd --restart=always --name=mcpe --net=host \
-v /opt/mcpe-data:/data \
lomot/minecraft-bedrock:1.13.3.0
Upgrade the server
1. backup you data
just backup the folder /opt/mcpe-data
cp -r /opt/mcpe-data /opt/mcpe-data.bak
2. exit and delete the old server
docker container stop mcpe
docker container rm mcpe
3. start a new version server
docker run -itd --restart=always --name=mcpe --net=host \
-v /opt/mcpe-data:/data \
lomot/minecraft-bedrock:1.13.3.0
Manage the server
enter or quit the game console
docker attach mcpe
press ctrl + p + q
to quit
do not use ctrl+c
or ctrl+d
, this wii kill the process
stop/start/restart/rm the server
docker container stop/start/restart/rm mcpe
change the port
do NOT change the port configuration of server.properties
file, just change the frist 19132 of parameter19132:19132/udp
Just change the server-port
in the fileserver.properties
is OK.
using bridge networks will decrease the network performance, it is supposed to use host networks.
about addon, behavior_packs, resource_packs
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 dowload 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
Binary file from
https://minecraft.net/en-us/download/server/bedrock/
Docker Hub
https://hub.docker.com/r/lomot/minecraft-bedrock