adding NVIDIA capabilities information

Signed-off-by: Adrian Plata <adrian.plata@docker.com>
This commit is contained in:
Adrian Plata 2019-07-02 15:48:30 -07:00
parent a00c783961
commit 2142f4ad7b
1 changed files with 5 additions and 3 deletions

View File

@ -342,10 +342,12 @@ following:
docker run --gpus 'all,capabilities=utility' --rm ubuntu nvidia-smi
```
This enables all available GPU driver capabilites with the driver features for
`nvidia-smi`.
This enables the `utility` driver capabilites and adds the `nvidia-smi` tool to
the container.
More information on valid variables can be found at the [nvidia-container-runtime](https://github.com/NVIDIA/nvidia-container-runtime)
Capabilities as well as other configurations can be set in images via
environment variables. More information on valid variables can be found at the
[nvidia-container-runtime](https://github.com/NVIDIA/nvidia-container-runtime)
GitHub page. These variables can be set in a Dockerfile.
You can also utitize CUDA images which sets these variables automatically. See