Users can configure supported driver capabilities by editing the supported-driver-capabilities field in the /etc/nvidia-container-runtime/config.toml file.
not all of these supported capabilities are enabled by default.
The default driver capabilities, utility and compute, are hard-coded in the nvidia-container-runtime-hook.
Users can specify enabled capabilities by setting the NVIDIA_DRIVER_CAPABILITIES environment variable in the docker run command.
There is one exception: when running a legacy image. A legacy image is determined by the environment variables CUDA_VERSION and NVIDIA_REQUIRE_CUDA.