MrTechGadget / minecraft-bedrock

a bedrock minecraft PE Server on docker (MCPE) 500k pulls🎉!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

English doc | Older version | 中文文档 | buy me a coffee

Docker Pulls

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

Github

https://github.com/LomotHo/minecraft-bedrock

About

a bedrock minecraft PE Server on docker (MCPE) 500k pulls🎉!

License:Apache License 2.0


Languages

Language:Dockerfile 68.6%Language:Shell 31.4%