Go to file
Evan Lezar 54ea4a24a7
Load NVIDIA Kernel Modules for JIT-CDI mode
This change attempts to load the nvidia, nvidia-uvm, and nvidia-modeset
kernel modules before generating the automatic (jit) CDI specification.

The kernel modules can be controlled by the

nvidia-container-runtime.modes.jit-cdi.load-kernel-modules

config option. If this is set to the empty list, then no kernel modules
are loaded.

Errors in loading the kernel modules are logged, but ignored.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2025-03-09 13:38:07 +02:00
.github [no-relnote] Update Slack notification action step 2025-02-13 14:16:44 +01:00
cmd Load NVIDIA Kernel Modules for JIT-CDI mode 2025-03-09 13:38:07 +02:00
deployments Bump github.com/golangci/golangci-lint in /deployments/devel 2025-03-07 14:05:34 +00:00
docker [no-relnote] Use centos:7 vault repos for builds 2024-07-01 16:21:20 +02:00
hack [no-relnote] Fix typo in script 2024-10-16 10:53:45 +02:00
internal Load NVIDIA Kernel Modules for JIT-CDI mode 2025-03-09 13:38:07 +02:00
packaging Move nvidia-ctk hook command into own binary 2024-05-21 12:19:44 +02:00
pkg Disable enable-cuda-compat hook for management containers 2025-03-07 16:54:09 +02:00
scripts [no-relnote] Fix archive-packages script 2024-12-04 12:50:35 +01:00
testdata Add imex mode to CDI spec generation 2024-11-25 13:46:43 +01:00
tests Bump golang.org/x/crypto from 0.35.0 to 0.36.0 in /tests 2025-03-07 14:32:55 +00:00
third_party Allow enable-cuda-compat hook to be disabled in CDI spec generation 2025-03-07 16:54:09 +02:00
vendor Bump github.com/urfave/cli/v2 from 2.27.5 to 2.27.6 2025-03-06 10:48:36 +00:00
.common-ci.yml add ngc image signing job for auto signing 2024-06-12 13:20:35 +05:30
.dockerignore Add dockerfile and makefile to build toolkit-container 2021-10-22 11:57:55 +02:00
.gitignore Rename test folder to tests 2025-01-23 11:46:14 +01:00
.gitlab-ci.yml [no-relnote] Add toolkit install unit test 2024-11-05 14:23:35 -08:00
.gitmodules Update libnvidia-container to github ref 2024-02-01 16:36:10 +01:00
.golangci.yml [no-relnote] minor cleanup and improvements 2024-10-11 16:14:41 +02:00
.nvidia-ci.yml add ngc image signing job for auto signing 2024-06-12 13:20:35 +05:30
CHANGELOG.md Bump version for v1.17.4 release 2025-02-10 13:24:41 +01:00
CONTRIBUTING.md
DEVELOPMENT.md Rename test folder to tests 2025-01-23 11:46:14 +01:00
go.mod Bump github.com/urfave/cli/v2 from 2.27.5 to 2.27.6 2025-03-06 10:48:36 +00:00
go.sum Bump github.com/urfave/cli/v2 from 2.27.5 to 2.27.6 2025-03-06 10:48:36 +00:00
LICENSE
Makefile [no-relnote] Use --exit-code instead of --quiet for mod check 2025-03-06 11:33:48 +02:00
README.md Change master references to main 2022-04-12 14:52:38 +02:00
RELEASE.md [no-relnote] Add RELEASE.md 2024-07-15 14:25:12 +02:00
versions.mk Bump version for v1.17.4 release 2025-02-10 13:24:27 +01:00

NVIDIA Container Toolkit

GitHub license Documentation Package repository

nvidia-container-stack

Introduction

The NVIDIA Container Toolkit allows users to build and run GPU accelerated containers. The toolkit includes a container runtime library and utilities to automatically configure containers to leverage NVIDIA GPUs.

Product documentation including an architecture overview, platform support, and installation and usage guides can be found in the documentation repository.

Getting Started

Make sure you have installed the NVIDIA driver for your Linux Distribution Note that you do not need to install the CUDA Toolkit on the host system, but the NVIDIA driver needs to be installed

For instructions on getting started with the NVIDIA Container Toolkit, refer to the installation guide.

Usage

The user guide provides information on the configuration and command line options available when running GPU containers with Docker.

Issues and Contributing

Checkout the Contributing document!