diff --git a/start_daemon.sh b/start_daemon.sh index 9cb2b0f..552202e 100755 --- a/start_daemon.sh +++ b/start_daemon.sh @@ -1,4 +1,4 @@ #!/bin/bash CURDIRNAME=${PWD##*/} -docker run --name ${USER}_${CURDIRNAME} -d --gpus all -p 8900:8888 -v /home/${USER}:/wd ${USER}_${CURDIRNAME} +docker run --name ${USER}_${CURDIRNAME} -d --gpus all -p 8888:8888 -v $(pwd):/wd ${USER}_${CURDIRNAME} diff --git a/start_interactively.sh b/start_interactively.sh index c587b13..77e8018 100755 --- a/start_interactively.sh +++ b/start_interactively.sh @@ -1,4 +1,4 @@ #!/bin/bash CURDIRNAME=${PWD##*/} -docker run -it --rm --gpus "device=0" -p 8900:8888 -v /home/${USER}:/wd ${USER}_${CURDIRNAME} +docker run -it --rm --gpus "device=0" -p 8888:8888 -v $(pwd):/wd ${USER}_${CURDIRNAME}