Update README

This commit is contained in:
TheBrokenRail 2020-09-25 12:49:07 -04:00
parent 9cba611982
commit c047d360b1
2 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,8 @@ sudo docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
virgl_test_server &
PID="$!"
xhost local:root
sudo docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -v /tmp/.virgl_test:/tmp/.virgl_test -v ~/.minecraft-pi:/root/.minecraft -e DISPLAY=unix${DISPLAY} thebrokenrail/minecraft-pi
kill "${PID}"

2
run.sh
View File

@ -5,6 +5,8 @@ set -e
virgl_test_server &
PID="$!"
xhost local:root
sudo docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -v /tmp/.virgl_test:/tmp/.virgl_test -v ~/.minecraft-pi:/root/.minecraft -e DISPLAY=unix${DISPLAY} thebrokenrail/minecraft-pi
kill "${PID}"