Use an NVIDIA Container Image to verify container access to NVIDIA GPUs

Verify that your container can communicate with the GPU and the type of NVIDIA GPUs your Docker containers can access using one of NVIDIA's container images.

docker run --rm --runtime=nvidia --gpus all ubuntu nvidia-smi

 Sample Output

The containers on this server have access to a single Titan RTX card


Source

Revision 

Created 2024/07 

Corrected NVIDIA captialization 2025/08



Comments

Popular posts from this blog

Installing the RNDIS driver on Windows 11 to use USB Raspberry Pi as network attached

Understanding your WSL2 RAM and swap - Changing the default 50%-25%

Micro benchmarking Apple M1 Max - MLX vs GGUF - LLM QWEN 2.5