From 9a33c1b9d984c6f73c418b112abe44877995c6d0 Mon Sep 17 00:00:00 2001 From: Vladimir Protsenko Date: Wed, 22 Feb 2023 00:14:58 +0400 Subject: [PATCH] Update 'start_daemon.sh' --- start_daemon.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start_daemon.sh b/start_daemon.sh index 713364e..6e8d780 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 8888:8888 -v $(pwd):/wd --name ${USER}_${CURDIRNAME} ${USER}_${CURDIRNAME} \ No newline at end of file +docker run -d --gpus "device=0" -p 8888:8888 -v $(pwd):/wd --name ${USER}_${CURDIRNAME} ${USER}_${CURDIRNAME} \ No newline at end of file