We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Important
Make sure you have a Nvidia GPU and installed the driver.
sudo docker run --rm --runtime=nvidia --gpus all ubuntu nvidia-smi
If you encounter some problems, you can check the following:
docker info | grep -i runtimes
Runtimes: nvidia runc Default Runtime: runc
cat /etc/docker/daeon.json
... { "runtimes": { "nvidia": { "args": [], "path": "nvidia-container-runtime" } } } ...