Update README
This commit is contained in:
parent
9cba611982
commit
c047d360b1
@ -14,6 +14,8 @@ sudo docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
|||||||
virgl_test_server &
|
virgl_test_server &
|
||||||
PID="$!"
|
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
|
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}"
|
kill "${PID}"
|
||||||
|
2
run.sh
2
run.sh
@ -5,6 +5,8 @@ set -e
|
|||||||
virgl_test_server &
|
virgl_test_server &
|
||||||
PID="$!"
|
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
|
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}"
|
kill "${PID}"
|
||||||
|
Loading…
Reference in New Issue
Block a user