[cc7dc8]: / deeplearn-approach / docker / run_spyder.sh

Download this file

20 lines (14 with data), 547 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
#!/bin/sh
# Should be platform neutral - at least working on Linux and Windows
USER_NAME=`basename $HOME`
# HHHOME is used to pass the HOME directory of the user running rodeo
# and is used in "start.sh" to create the same user within the container.
sudo xhost + local:docker
# Users home is mounted as home
# --rm will remove the container as soon as it ends
docker run -ti --rm \
-e DISPLAY=$DISPLAY \
-e QT_X11_NO_MITSHM=1 \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v `pwd`:/sharedfolder \
andreotti/challenge2017:cpu