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