Public | Automated Build

Last pushed: a year ago
Short Description
Docker image for a PocketMine-MP server.
Full Description

docker-pocketmine-mp

Docker image for a PocketMine-MP server.
Since it includes the latest stable version of PocketMine-MP that is not working with the latest Minecraft PE, you should update to the latest beta. Check "Update Beta" section.

For the moment, installing beta release instead of stable one by default.

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
Docker Pull Command
Owner
5t111111
Source Repository

Comments (3)
segarra
a year ago

Thanks

segarra
a year ago

Hello, if I try ti start-it with persistent data, I get this error
[WARN] server.properties is not found in /pocketmine/PocketMine-MP. Copying from the original assets.
stdout
15:22:36
[INFO] Updating to the latest beta release.
stdout
15:22:37
[] Found PocketMine-MP Final_1.4.1dev (build 936) using API 1.11.0
stdout
15:22:37
[
] This beta build was released on Tue Jan 6 18:44:08 UTC 2015
stdout
15:22:37
[+] The build was signed, will check signature
stdout
15:22:37
[] Installing/updating PocketMine-MP on directory ./
stdout
15:22:37
[1/3] Cleaning...
stdout
15:22:40
[2/3] Downloading PocketMine-MP Final_1.4.1dev-936 phar... done!
stdout
15:22:41
[
] Checking signature of PocketMine-MP.phar
stdout
15:22:41
gpg: Signature made Tue Jan 6 19:39:37 2015 UTC using RSA key ID A7837F89
stdout
15:22:41
gpg: Good signature from "Shoghi Cervantes <shoghicp@gmail.com>"
stdout
15:22:41
gpg: aka "keybase.io/shoghicp <shoghicp@keybase.io>"
stdout
15:22:41
[+] Signature valid and checked!
stdout
15:22:41
[3/3] Obtaining PHP: detecting if build is available...
stdout
15:22:42
[3/3] Linux 64-bit PHP build available, downloading PHP_5.6.10_x86-64_Linux.tar.gz... checking... regenerating php.ini... done
stdout
15:22:42
[*] Everything done! Run ./start.sh to start PocketMine-MP
stdout
15:22:42
chown: changing ownership of '/pocketmine/entrypoint.sh': Operation not permitted
stdout
15:22:42
chown: changing ownership of '/pocketmine/server.properties.original': Operation not permitted
stdout
15:22:42
Couldn't find a working PHP 7 binary, please use the installer.
The directory en /opt is created

da9l
2 years ago

Sorry for my ignorance but is it possible to attach to the pocketmine server to execute commands on the console?
I've tried to do docker attach and I get the output from the server but it doesn't react on my input.

Thanks for a great image btw...