Go to file
Kevin Klues 20604621e4 Add 'compute' capability to list of defaults.
For most practical purposes, it should be fine to set
NVIDIA_DRIVER_CAPABILITIES=all nowadays.

Historically, these different capabilities exist because they were added
incrementally, with varying degrees of stability. It's fairly common to
run with GPUs in containers today, but a few years ago the driver didn't
support them very well, and it was important to make sure the libraries
being injected into the container actually worked in a containerized
environment. When they didn't, it was common to get information leaks,
crashes, or even silent failures.

In the past, whenever a new set of libraries was being vetted for
injected, a new capability was added to make sure that users had control
to explicitly include only those libraries they were comfortable having
injected into their containers.

The idea being that whoever puts together a container image for use with
GPUs should have the knowledge of what capabilities the software in that
container image requires, and can set the NVIDIA_DRIVER_CAPABILITIES
envvar in that image appropriately.

After some back and forth, we've decided it doesn't quite make sense to
set it to "all" just yet, but we should set it to "utility, compute"
instead of just "utility", so that at least the core CUDA libraries work
by default (once installed in the container).

Signed-off-by: Kevin Klues <kklues@nvidia.com>
2020-12-07 12:10:23 +00:00
config Refactor accepting device lists from volume mounts as a boolean 2020-08-07 16:30:19 +00:00
docker Fix repo listed in changelog for debian distributions 2020-07-08 16:22:01 +00:00
packaging Bump to version 1.3.0 2020-09-16 11:45:31 +00:00
pkg Add 'compute' capability to list of defaults. 2020-12-07 12:10:23 +00:00
.dockerignore Add binary target and use go mod 2020-04-11 17:18:14 -07:00
.gitignore Init 2019-10-22 14:36:22 -07:00
.gitlab-ci.yml Generalize CI variables 2020-07-24 14:01:39 +00:00
CONTRIBUTING.md Ensure LICENSE and CONTRIBUTING.md files are present 2019-10-31 12:56:46 -07:00
docker.mk Update build system to accept a TAG variable for things like rc.x 2020-07-24 19:54:29 +00:00
go.mod Rename github.com/NVIDIA/container-toolkit to nvidia-container-toolkit 2020-07-24 11:40:45 +00:00
go.sum Update vendored packages 2020-06-03 21:25:13 +00:00
LICENSE Ensure LICENSE and CONTRIBUTING.md files are present 2019-10-31 12:56:46 -07:00
Makefile Bump to version 1.3.0 2020-09-16 11:45:31 +00:00
oci-nvidia-hook Init 2019-10-22 14:36:22 -07:00
oci-nvidia-hook.json Init 2019-10-22 14:36:22 -07:00