Application
Description
Minecraft is a sandbox video game created by Swedish game developer Markus Persson and released by Mojang in 2011. The game allows players to build with a variety of different blocks in a 3D procedurally generated world, requiring creativity from players. Other activities in the game include exploration, resource gathering, crafting, and combat. Multiple game modes that change gameplay are available, including—but not limited to—a survival mode, in which players must acquire resources to build the world and maintain health, and a creative mode, where players have unlimited resources to build with.
Build notes
Alpha release of Minecraft Bedrock Edition for Linux.
Usage
docker run -d \
--net="bridge" \
--name=<container name> \
-p <host port>:19132/tcp \
-p <host port>:19132/udp \
-p <host port>:19133/tcp \
-p <host port>:19133/udp \
-v <path for config files>:/config \
-v /etc/localtime:/etc/localtime:ro \
-e UMASK=<umask for created files> \
-e PUID=<uid for user> \
-e PGID=<gid for user> \
binhex/arch-minecraftbedrockserver
Please replace all user variables in the above command defined by <> with the correct values.
Example
docker run -d \
--net="bridge" \
--name=minecraftbedrockserver \
-p 19132:19132/tcp \
-p 19132:19132/udp \
-p 19132:19133/tcp \
-p 19132:19133/udp \
-v /apps/docker/minecraftbedrockserver:/config \
-v /etc/localtime:/etc/localtime:ro \
-e UMASK=000 \
-e PUID=0 \
-e PGID=0 \
binhex/arch-minecraftbedrockserver
Notes
User ID (PUID) and Group ID (PGID) can be found by issuing the following command for the user you want to run the container as:-
id <username>
If you appreciate my work, then please consider buying me a beer :D