mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-22 08:18:32 +00:00
Merge pull request #339 from elezar/cherry-pick-1.14.5
Cherry-pick changes for v1.14.5
This commit is contained in:
commit
d52a237c12
@ -1,5 +1,9 @@
|
|||||||
# NVIDIA Container Toolkit Changelog
|
# 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
|
## v1.14.4
|
||||||
* Include `nvidia/nvoptix.bin` in list of graphics mounts.
|
* Include `nvidia/nvoptix.bin` in list of graphics mounts.
|
||||||
* Include `vulkan/icd.d/nvidia_layers.json` in list of graphics mounts.
|
* Include `vulkan/icd.d/nvidia_layers.json` in list of graphics mounts.
|
||||||
|
@ -149,6 +149,7 @@ func (m command) build() *cli.Command {
|
|||||||
},
|
},
|
||||||
&cli.BoolFlag{
|
&cli.BoolFlag{
|
||||||
Name: "cdi.enabled",
|
Name: "cdi.enabled",
|
||||||
|
Aliases: []string{"cdi.enable"},
|
||||||
Usage: "Enable CDI in the configured runtime",
|
Usage: "Enable CDI in the configured runtime",
|
||||||
Destination: &config.cdi.enabled,
|
Destination: &config.cdi.enabled,
|
||||||
},
|
},
|
||||||
@ -310,7 +311,7 @@ func enableCDI(config *config, cfg engine.Interface) error {
|
|||||||
case "containerd":
|
case "containerd":
|
||||||
return cfg.Set("enable_cdi", true)
|
return cfg.Set("enable_cdi", true)
|
||||||
case "docker":
|
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)
|
return fmt.Errorf("enabling CDI in %s is not supported", config.runtime)
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
LIB_NAME := nvidia-container-toolkit
|
LIB_NAME := nvidia-container-toolkit
|
||||||
LIB_VERSION := 1.14.4
|
LIB_VERSION := 1.14.5
|
||||||
LIB_TAG :=
|
LIB_TAG :=
|
||||||
|
|
||||||
# The package version is the combination of the library version and tag.
|
# The package version is the combination of the library version and tag.
|
||||||
|
Loading…
Reference in New Issue
Block a user