Added init flag to docker run to handle defunct processes
This commit is contained in:
4
run.sh
4
run.sh
@@ -7,12 +7,12 @@ docker build \
|
|||||||
.
|
.
|
||||||
|
|
||||||
docker run \
|
docker run \
|
||||||
|
--init \
|
||||||
--rm \
|
--rm \
|
||||||
-ti \
|
-ti \
|
||||||
--gpus=all \
|
--gpus=all \
|
||||||
-p 8080:8080 \
|
-p 8080:8080 \
|
||||||
|
--env-file .env \
|
||||||
-v /$(pwd)/model/:/root/model/ \
|
-v /$(pwd)/model/:/root/model/ \
|
||||||
-v /$(pwd)/.env:/root/.env \
|
|
||||||
-v /$(pwd)/iterations/:/root/sia/iterations/ \
|
-v /$(pwd)/iterations/:/root/sia/iterations/ \
|
||||||
-v /$(pwd)/.git/:/root/sia/.git/ \
|
|
||||||
sia "$@"
|
sia "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user