Sign inSign up

appenz/docker-pocketmine-mp

By appenz

•Updated over 10 years ago

Run pocketmine in a container. Bug fixed fork of 5t111111.

Image
0

349

appenz/docker-pocketmine-mp repository overview

Note: As of right now (3/16/2015) there is no build of Pocketmine that works with current Minecraft PE clients using protocol 0.14.0. To run with 0.14.0 what worked for me is Imagicalmine (a Pocketmine fork). Docker container here:

https://hub.docker.com/r/appenz/docker-imagicalmine-ga/

⁠docker-pocketmine-mp

This Docker container is a fork of 5t111111/docker-pocketmine-mp with a minor bug fix for the PHP path. Notes from 5t111111/docker-pocketmine-mp. All credit belongs to him.

⁠Quick Start

docker run --name=pocketmine-mp -d -p 19132:19132/udp 5t111111/pocketmine-mp:latest

⁠Data Persistence

You might want to keep your data from losing. The easiest way is to create a direcory on host filesystem and mount it to /pocketmine/PocketMine-MP in a container.

For example, this instruction shows in case of you want to use host's /opt/pocketmine-mp directory for saving your data.

mkdir /opt/pocketmine-mp

Then run a container with -v option.

docker run --name=pocketmine-mp -d -v /opt/pocketmine-mp:/pocketmine/PocketMine-MP \
    -p 19132:19132/udp 5t111111/pocketmine-mp:latest

You can also edit server.properties.

⁠Update

Set the environment variable UPDATE_LATEST = YES to force update the latest stable release.

docker run --name=pocketmine-mp -d -v /opt/pocketmine-mp:/pocketmine/PocketMine-MP \
    -p 19132:19132/udp -e "UPDATE_LATEST=YES" 5t111111/pocketmine-mp:latest

⁠Update Beta

Set the environment variable UPDATE_LATEST_BETA = YES to force update the latest beta release.

docker run --name=pocketmine-mp -d -v /opt/pocketmine-mp:/pocketmine/PocketMine-MP \
    -p 19132:19132/udp -e "UPDATE_LATEST_BETA=YES" 5t111111/pocketmine-mp:latest

⁠Update Dev

Set the environment variable UPDATE_LATEST_DEV = YES to force update the latest development release.

docker run --name=pocketmine-mp -d -v /opt/pocketmine-mp:/pocketmine/PocketMine-MP \
    -p 19132:19132/udp -e "UPDATE_LATEST_DEV=YES" 5t111111/pocketmine-mp:latest

Tag summary

Content type

Image

Digest

Size

159.6 MB

Last updated

over 10 years ago

docker pull appenz/docker-pocketmine-mp