nvidia-container-toolkit/cmd/nvidia-ctk
Evan Lezar d37c17857e Add nvidia-ctk info generate-cdi command
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>
2022-09-29 12:11:42 +02:00
..
hook Add --link option to nvidia-ctk hook create-symlinks command 2022-05-11 15:28:53 +02:00
info Add nvidia-ctk info generate-cdi command 2022-09-29 12:11:42 +02:00
runtime Add nvidia-ctk runtime configure command 2022-07-13 10:33:46 +02:00
main.go Add nvidia-ctk info generate-cdi command 2022-09-29 12:11:42 +02:00
README.md Add nvidia-ctk runtime configure command 2022-07-13 10:33:46 +02:00

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.