From b2be56414525cf94aaa440d89ad2688bc3694ca0 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Wed, 29 Jan 2020 10:33:36 -0800 Subject: [PATCH] updates --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7aebe10a..b6c8e356 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 -# sudo docker run --gpus all --ipc=host ultralytics/yolov3:v0 python3 detect.py +# t=ultralytics/yolov3:v0 && sudo docker pull $t && sudo docker run --gpus all -it $t # Pull and Run with local directory access -# t=ultralytics/yolov3:v0 && sudo docker pull $t && sudo docker run --gpus all -it --ipc=host -v "$(pwd)"/coco:/usr/src/coco $t +# t=ultralytics/yolov3:v0 && sudo docker pull $t && sudo docker run --gpus all -it -v "$(pwd)"/coco:/usr/src/coco $t # Kill all # sudo docker kill "$(sudo docker ps -q)"