Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

#21675 FROM pytorch/pytorch:2.8.0-cuda12.8-cudnn9-runtime

Merged
Ghost merged 1 commits into Ultralytics:main from ultralytics:glenn-jocher-patch-1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  1. # Ultralytics ๐Ÿš€ AGPL-3.0 License - https://ultralytics.com/license
  2. # Builds ultralytics/ultralytics:latest-cpu image on DockerHub https://hub.docker.com/r/ultralytics/ultralytics
  3. # Lightweight CPU image optimized for inference (extends latest-python)
  4. # Build from Ultralytics Python image
  5. FROM ultralytics/ultralytics:latest-python
  6. # Set default command to bash
  7. CMD ["/bin/bash"]
  8. # Usage Examples -------------------------------------------------------------------------------------------------------
  9. # Build and Push
  10. # t=ultralytics/ultralytics:latest-cpu && sudo docker build -f docker/Dockerfile-cpu -t $t . && sudo docker push $t
  11. # Run
  12. # t=ultralytics/ultralytics:latest-cpu && sudo docker run -it --ipc=host --name NAME $t
  13. # Pull and Run
  14. # t=ultralytics/ultralytics:latest-cpu && sudo docker pull $t && sudo docker run -it --ipc=host --name NAME $t
  15. # Pull and Run with local volume mounted
  16. # t=ultralytics/ultralytics:latest-cpu && sudo docker pull $t && sudo docker run -it --ipc=host -v "$(pwd)"/shared/datasets:/datasets $t
Discard
Tip!

Press p or to see the previous file or, n or to see the next file