Commit 01ce6d06 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

Set and pass root's home as the container's HOME

parent bf950a0b
......@@ -25,9 +25,11 @@ XSOCK=/tmp/.X11-unix
XAUTH=/tmp/.docker.xauth
touch ${XAUTH}
xauth nlist :0 | sed -e 's/^..../ffff/' | xauth -f ${XAUTH} nmerge -
HOME=/root
docker run \
--privileged \
-e DISPLAY \
-e HOME \
-e XAUTHORITY=${XAUTH} \
-v ${XSOCK}:${XSOCK} \
-v ${XAUTH}:${XAUTH} \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment