Browse Source

update Dockerfile

5.0
Glenn Jocher 4 years ago
parent
commit
c80b249e67
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Dockerfile

+ 2
- 2
Dockerfile View File

# t=ultralytics/yolov5:latest && sudo docker build -t $t . && sudo docker push $t # t=ultralytics/yolov5:latest && sudo docker build -t $t . && sudo docker push $t


# Pull and Run # Pull and Run
# t=ultralytics/yolov5:latest && sudo docker pull $t && sudo docker run -it --ipc=host $t bash
# t=ultralytics/yolov5:latest && sudo docker pull $t && sudo docker run -it --ipc=host $t


# Pull and Run with local directory access # Pull and Run with local directory access
# t=ultralytics/yolov5:latest && sudo docker pull $t && sudo docker run -it --ipc=host --gpus all -v "$(pwd)"/coco:/usr/src/coco $t bash
# t=ultralytics/yolov5:latest && sudo docker pull $t && sudo docker run -it --ipc=host --gpus all -v "$(pwd)"/coco:/usr/src/coco $t


# Kill all # Kill all
# sudo docker kill "$(sudo docker ps -q)" # sudo docker kill "$(sudo docker ps -q)"

Loading…
Cancel
Save