From 17fbd6ed8c9c417272d9e988cd5fdadd270c137a Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sun, 8 Mar 2020 11:56:37 -0700 Subject: [PATCH] updates --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index baccd70b..cdf022a3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,10 +47,10 @@ COPY . /usr/src/app # t=ultralytics/yolov3:v0 && sudo docker build -t $t . && sudo docker push $t # Run -# t=ultralytics/yolov3:v0 && sudo docker pull $t && sudo docker run -it $t bash +# t=ultralytics/yolov3:v0 && sudo docker pull $t && sudo docker run -it --gpus all --ipc=host $t bash # Pull and Run with local directory access -# t=ultralytics/yolov3:v0 && sudo docker pull $t && sudo docker run -it -v "$(pwd)"/coco:/usr/src/coco $t bash +# t=ultralytics/yolov3:v0 && sudo docker pull $t && sudo docker run -it --gpus all --ipc=host -v "$(pwd)"/coco:/usr/src/coco $t bash # Kill all # sudo docker kill "$(sudo docker ps -q)"