← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #696914]: Errors while I'm trying to display the GUI of sikulix inside docker container

 

Question #696914 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/696914

Marietto posted a new comment:
I start the container with this script :


XSOCK=/tmp/.X11-unix

XAUTH=/tmp/.docker.xauth

touch $XAUTH

xauth nlist $DISPLAY | sed -e 's/^..../ffff/' | xauth -f $XAUTH nmerge -


docker run \

--gpus all \

--rm -it \

-v $XSOCK:$XSOCK:rw \

-v $XAUTH:$XAUTH:rw \

--device=/dev/dri/card0:/dev/dri/card0 \

-e DISPLAY=$DISPLAY \

-e XAUTHORITY=$XAUTH \

-w /protected \

-w /addons \

-v /:/addons \

-t test-docker

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.