This commit is contained in:
Glenn Jocher 2020-03-08 11:56:37 -07:00
parent a4662bf306
commit 17fbd6ed8c
1 changed files with 2 additions and 2 deletions

View File

@ -47,10 +47,10 @@ COPY . /usr/src/app
# t=ultralytics/yolov3:v0 && sudo docker build -t $t . && sudo docker push $t # t=ultralytics/yolov3:v0 && sudo docker build -t $t . && sudo docker push $t
# Run # 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 # 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 # Kill all
# sudo docker kill "$(sudo docker ps -q)" # sudo docker kill "$(sudo docker ps -q)"