VISI

Docker and NGC cheat sheet

docker login nvcr.io
# Username: $oauthtoken   Password: <NGC API key>

docker run --gpus all -it --rm nvcr.io/nvidia/pytorch:24.01-py3
docker run --gpus '"device=0"' -it --rm <image>    # Specific GPU
docker logs -f <container>
docker stats
docker system prune -a

Quiz

A few quick questions based on this unit. Mark it complete when you are done.

Question 1 / 3

What is docker run -?