Skip to content

Commit

Permalink
DockerHub tag update Usage example (ultralytics#9005)
Browse files Browse the repository at this point in the history
Signed-off-by: Glenn Jocher <[email protected]>

Signed-off-by: Glenn Jocher <[email protected]>
  • Loading branch information
glenn-jocher authored and Clay Januhowski committed Sep 8, 2022
1 parent ec78614 commit ff7b0b4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions utils/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,8 @@ ENV OMP_NUM_THREADS=8
# Kill all image-based
# sudo docker kill $(sudo docker ps -qa --filter ancestor=ultralytics/yolov5:latest)

# Bash into running container
# sudo docker exec -it 5a9b5863d93d bash

# Bash into stopped container
# id=$(sudo docker ps -qa) && sudo docker start $id && sudo docker exec -it $id bash
# DockerHub tag update
# t=ultralytics/yolov5:latest tnew=ultralytics/yolov5:v6.2 && sudo docker pull $t && sudo docker tag $t $tnew && sudo docker push $tnew

# Clean up
# docker system prune -a --volumes
Expand Down

0 comments on commit ff7b0b4

Please sign in to comment.