diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d182aa8..7f03f2c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # NVIDIA Container Toolkit Changelog +## v1.14.5 +* Fix `nvidia-ctk runtime configure --cdi.enabled` for Docker. This was incorrectly setting `experimental = true` instead + of setting `features.cdi = true`. + ## v1.14.4 * Include `nvidia/nvoptix.bin` in list of graphics mounts. * Include `vulkan/icd.d/nvidia_layers.json` in list of graphics mounts. diff --git a/cmd/nvidia-ctk/runtime/configure/configure.go b/cmd/nvidia-ctk/runtime/configure/configure.go index 145fef0e..cbb62677 100644 --- a/cmd/nvidia-ctk/runtime/configure/configure.go +++ b/cmd/nvidia-ctk/runtime/configure/configure.go @@ -149,6 +149,7 @@ func (m command) build() *cli.Command { }, &cli.BoolFlag{ Name: "cdi.enabled", + Aliases: []string{"cdi.enable"}, Usage: "Enable CDI in the configured runtime", Destination: &config.cdi.enabled, }, @@ -310,7 +311,7 @@ func enableCDI(config *config, cfg engine.Interface) error { case "containerd": return cfg.Set("enable_cdi", true) case "docker": - return cfg.Set("experimental", true) + return cfg.Set("features", map[string]bool{"cdi": true}) } return fmt.Errorf("enabling CDI in %s is not supported", config.runtime) } diff --git a/versions.mk b/versions.mk index 0bf66552..cc9f39af 100644 --- a/versions.mk +++ b/versions.mk @@ -13,7 +13,7 @@ # limitations under the License. LIB_NAME := nvidia-container-toolkit -LIB_VERSION := 1.14.4 +LIB_VERSION := 1.14.5 LIB_TAG := # The package version is the combination of the library version and tag.