Skip to content
This repository has been archived by the owner on Oct 25, 2019. It is now read-only.

Irioth/mcpelauncher-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Minecraft in docker

Motivation

MCPE Linux Launcher is wonderful project, but it's quite hard to satisfy versions for all dependencies to compile project, especially on usual/dirty linux workstation with a lot of installed stuff. This project solve dependencies issues using clean, isolated env inside docker container.

Building

docker build -t irioth/mcpe .

Running

For the first time:

xhost +local:
docker run --name mcpe -ti -e "DISPLAY=unix:0.0" -v="/tmp/.X11-unix:/tmp/.X11-unix:rw" -v /dev/snd:/dev/snd --privileged irioth/mcpe ./mcpelauncher

Starting existing container:

docker start mcpe

Tips

You can copy compiled project from container using docker cp, and if you are quite lucky it will work. Just keep in mind that it's 32-bit and external libraries must match to ones in container.

docker cp mcpe:/mcpe .

For previous compiled versions you can checkout tagged images:

irioth/mcpe:1.2.5
irioth/mcpe:1.2.6

About

Running Minecraft from Docker container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published