diff --git a/container-toolkit/cdi-support.md b/container-toolkit/cdi-support.md index c785cc0d1..7fb690063 100644 --- a/container-toolkit/cdi-support.md +++ b/container-toolkit/cdi-support.md @@ -220,10 +220,11 @@ Using CDI to inject NVIDIA devices can conflict with using the NVIDIA Container This means that if a `/usr/share/containers/oci/hooks.d/oci-nvidia-hook.json` file exists, delete it or ensure that you do not run containers with the `NVIDIA_VISIBLE_DEVICES` environment variable set. -Generated CDI specifications include a `void` volume mount. -When you set `accept-nvidia-visible-devices-as-volume-mounts` to `true`, the `void` mount prevents the NVIDIA Container Runtime from injecting additional devices through volume-mount requests. +Generated CDI specifications set the `NVIDIA_VISIBLE_DEVICES` environment variable to `void`. +When you set `accept-nvidia-visible-devices-as-volume-mounts` to `true`, the `void` value prevents the NVIDIA Container Runtime from injecting additional devices through volume-mount requests. The setting defaults to `false`. -Regenerate an existing specification by following [Manual CDI Specification Generation](#manual-cdi-specification-generation) to include the `void` mount. +Specifications generated by `v1.20.2` prevent containers in a user namespace from starting. +If you generated a specification manually with `v1.20.2`, upgrade the NVIDIA Container Toolkit and then regenerate the specification by following [Manual CDI Specification Generation](#manual-cdi-specification-generation). The use of the CDI specification depends on the CDI-enabled container engine or CLI that you use. In the case of `podman`, for example, releases as of `v4.1.0` include support for specifying CDI devices in the `--device` argument. diff --git a/container-toolkit/release-notes.md b/container-toolkit/release-notes.md index efb69710e..23c30bd33 100644 --- a/container-toolkit/release-notes.md +++ b/container-toolkit/release-notes.md @@ -8,6 +8,36 @@ This document describes the new features, improvements, fixes and known issues for the NVIDIA Container Toolkit. +## NVIDIA Container Toolkit 1.20.3 + +This release of the NVIDIA Container Toolkit `v1.20.3` is a bugfix release. + +### Fixes and Features + +This release includes the following changes: + +- Fixed an issue where containers in a user namespace failed to start when CDI was used. + Kubernetes pods that set `hostUsers: false` are an example of containers in a user namespace. + The containers failed with an error such as `failed to set MOUNT_ATTR_IDMAP on /dev/null: invalid argument`. + Generated CDI specifications no longer include the `/dev/null` volume mount that caused the error. + The NVIDIA Container Runtime still prevents volume-mount device requests from adding GPUs in addition to the GPUs that CDI selects. + If you generated a CDI specification manually, regenerate the specification after you upgrade. + For more information, refer to [PR #2236](https://github.com/NVIDIA/nvidia-container-toolkit/pull/2236) and [issue #2226](https://github.com/NVIDIA/nvidia-container-toolkit/issues/2226). + +### Included Packages + +The following packages are included: + +- `nvidia-container-toolkit 1.20.3` +- `nvidia-container-toolkit-base 1.20.3` +- `libnvidia-container-tools 1.20.3` +- `libnvidia-container1 1.20.3` + +The following `container-toolkit` containers are included: + +- `nvcr.io/nvidia/k8s/container-toolkit:v1.20.3` +- `nvcr.io/nvidia/k8s/container-toolkit:v1.20.3-packaging` + ## NVIDIA Container Toolkit 1.20.2 This release of the NVIDIA Container Toolkit `v1.20.2` is a bugfix release. diff --git a/container-toolkit/versions1.json b/container-toolkit/versions1.json index 5b5bcc1e2..3d66f92ec 100644 --- a/container-toolkit/versions1.json +++ b/container-toolkit/versions1.json @@ -1,6 +1,10 @@ [ { "preferred": "true", + "url": "../1.20.3/", + "version": "1.20.3" + }, + { "url": "../1.20.2/", "version": "1.20.2" }, diff --git a/repo.toml b/repo.toml index d504cd579..943fb9867 100644 --- a/repo.toml +++ b/repo.toml @@ -110,8 +110,8 @@ project_build_order = [ docs_root = "${root}/container-toolkit" project = "container-toolkit" name = "NVIDIA Container Toolkit" -version = "1.20.2" -source_substitutions = {version = "1.20.2"} +version = "1.20.3" +source_substitutions = {version = "1.20.3"} copyright_start = 2020 redirects = [ { path="concepts.html", target="index.html" },