Minecraft: Pi Edition For Docker
Go to file
2020-09-25 15:35:38 -04:00
cmake Initial Commit 2020-09-25 12:43:53 -04:00
core Small Changes 2020-09-25 14:52:28 -04:00
mods Small Changes 2020-09-25 14:52:28 -04:00
scripts Initial Commit 2020-09-25 12:43:53 -04:00
.dockerignore Add Docker Compose 2020-09-25 12:58:37 -04:00
.gitignore Initial Commit 2020-09-25 12:43:53 -04:00
build.sh Initial Commit 2020-09-25 12:43:53 -04:00
docker-compose.yml Small Changes 2020-09-25 14:52:28 -04:00
Dockerfile Initial Commit 2020-09-25 12:43:53 -04:00
README.md Add Port To README 2020-09-25 15:35:38 -04:00
run.sh Small Changes 2020-09-25 14:52:28 -04:00

Minecraft: Pi Edition For Docker

Dependencies

# Required For Hardware Acceleration
sudo apt install virgl-server

# Required For ARM Support
sudo docker run --rm --privileged multiarch/qemu-user-static --reset -p yes

Tutorial

virgl_test_server &
PID="$!"

xhost local:root

sudo docker run -v /tmp/.X11-unix:/tmp/.X11-unix -v /tmp/.virgl_test:/tmp/.virgl_test -v ~/.minecraft-pi:/root/.minecraft -p 4711:4711/tcp -e DISPLAY=unix${DISPLAY} thebrokenrail/minecraft-pi

kill "${PID}"

Tweaks

The included version of Minecraft: Pi Ediiton is slightly modified to use the touchscreen UI.