nvidia-container-toolkit/cmd/nvidia-ctk
Evan Lezar ae18c5d847 Include chmod hook for device subfolders in CDI spec generation
This change generates one or more createContainer hooks for ensuring
that subfolders in /dev have the required permissions in the container.
As an example, a user requires read permissions to the /dev/nvidia-caps
in addition to including the specific caps devices under this folder.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2022-10-26 16:08:13 +02:00
..
hook Add nvidia-ctk hook chmod command to set permissions 2022-10-26 16:01:52 +02:00
info Include chmod hook for device subfolders in CDI spec generation 2022-10-26 16:08:13 +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.