Commit 4bd76975 authored by Maxime Perrotin's avatar Maxime Perrotin

Fix Docker-run's access to $HOME

parent 06fbee59
......@@ -25,12 +25,10 @@ XSOCK=/tmp/.X11-unix
XAUTH=/tmp/.docker.xauth
touch ${XAUTH}
xauth nlist :0 | sed -e 's/^..../ffff/' | xauth -f ${XAUTH} nmerge -
HOME=/root
export TASTE_IN_DOCKER=1
docker run \
--privileged \
-e DISPLAY \
-e HOME \
-e TASTE_IN_DOCKER \
-e XAUTHORITY=${XAUTH} \
-v ${XSOCK}:${XSOCK} \
......
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