Go to file
Evan Lezar 49aa5d764b
Add a hook to disable device node creation in a container
If required, this hook creates a modified params file (with ModifyDeviceFiles: 0) in a tmpfs
and mounts this over /proc/driver/nvidia/params.

This prevents device node creation when running tools such as nvidia-smi. In general the
creation of these devices is cosmetic as a container does not have the required cgroup
access for the devices.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2025-04-03 15:48:29 +02:00
.github Bump NVIDIA/holodeck from 0.2.6 to 0.2.7 2025-04-02 12:25:55 +00:00
cmd Add a hook to disable device node creation in a container 2025-04-03 15:48:29 +02:00
deployments Bump nvidia/cuda in /deployments/container 2025-03-14 08:20:16 +00:00
docker
hack [no-relnote] Fix typo in script 2024-10-16 10:53:45 +02:00
internal Fix race condition in mounts cache 2025-04-02 16:29:49 +02:00
packaging
pkg [no-relnote] Fix ST1005: error strings should not be capitalized lint errors 2025-04-02 14:18:32 +02:00
scripts [no-relnote] Use centos:stream9 for signing container 2025-03-12 12:44:35 +02:00
testdata Add imex mode to CDI spec generation 2024-11-25 13:46:43 +01:00
tests Bump github.com/onsi/gomega from 1.36.2 to 1.37.0 in /tests 2025-04-03 08:30:59 +00:00
third_party Bump third_party/libnvidia-container from f23e5e5 to 95d3e86 2025-03-10 08:34:52 +00:00
vendor Bump tags.cncf.io/container-device-interface from 1.0.0 to 1.0.1 2025-03-24 09:08:27 +00:00
.common-ci.yml
.dockerignore
.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
.golangci.yml [no-relnote] Migrate golangci-lint config to v2 2025-04-02 14:18:32 +02:00
.nvidia-ci.yml
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 tags.cncf.io/container-device-interface from 1.0.0 to 1.0.1 2025-03-24 09:08:27 +00:00
go.sum Bump tags.cncf.io/container-device-interface from 1.0.0 to 1.0.1 2025-03-24 09:08:27 +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
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!