mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2025-01-23 02:57:01 +00:00
d37c17857e
This change adds functionality to generate CDI specifications for all devices detected on the system. A specification containing all GPUs and MIG devices is generated. All libraries on the host ldcache that have an NVIDIA Driver Version suffix are included as are the required binaries and IPC sockets. A hook (based on the nvidia-ctk hook subcommand) to update the ldcache in the container for the libraries being injected is also added to the CDI specificiation. Signed-off-by: Evan Lezar <elezar@nvidia.com> |
||
---|---|---|
.. | ||
hook | ||
info | ||
runtime | ||
main.go | ||
README.md |
NVIDIA Container Toolkit CLI
The NVIDIA Container Toolkit CLI nvidia-ctk
provides a number of utilities that are useful for working with the NVIDIA Container Toolkit.
Functionality
Configure runtimes
The runtime
command of the nvidia-ctk
CLI provides a set of utilities to related to the configuration
and management of supported container engines.
For example, running the following command:
nvidia-ctk runtime configure --set-as-default
will ensure that the NVIDIA Container Runtime is added as the default runtime to the default container engine.