Go to file
Evan Lezar ac9146832b
Run update-ldcache in isolated namespaces
This change uses the reexec package to run the update of the
ldcache in a container in a process with isolated namespaces.
Since the hook is invoked as a createContainer hook, these
namespaces are cloned from the container's namespaces.

In the reexec handler, we further isolate the proc filesystem,
mount the host ldconfig to a tmpfs, and pivot into the containers
root.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2025-05-15 12:51:13 +02:00
.github Bump slackapi/slack-github-action from 2.0.0 to 2.1.0 2025-05-11 08:06:11 +00:00
cmd Run update-ldcache in isolated namespaces 2025-05-15 12:51:13 +02:00
deployments Bump golang from 1.23.8 to 1.23.9 in /deployments/devel 2025-05-12 09:52:42 +00:00
docker
hack
internal Add cuda-compat-mode config option 2025-05-13 21:52:01 +02:00
packaging
pkg Allow container runtime executable path to be specified 2025-04-08 17:51:54 +02:00
scripts [no-relnote] Use centos:stream9 for signing container 2025-03-12 12:46:24 +02:00
testdata
tests
third_party Bump third_party/libnvidia-container from a198166 to d26524a 2025-05-13 21:51:32 +02:00
tools/container Allow container runtime executable path to be specified 2025-04-08 17:51:54 +02:00
vendor Run update-ldcache in isolated namespaces 2025-05-15 12:51:13 +02:00
.common-ci.yml
.dockerignore
.gitignore Rename test folder to tests 2025-02-28 17:24:22 +02:00
.gitlab-ci.yml
.gitmodules
.golangci.yml
.nvidia-ci.yml
CHANGELOG.md Update CHANGELOG for v1.17.7 release 2025-05-13 22:03:40 +02:00
CONTRIBUTING.md
DEVELOPMENT.md Rename test folder to tests 2025-02-28 17:24:22 +02:00
go.mod Run update-ldcache in isolated namespaces 2025-05-15 12:51:13 +02:00
go.sum Run update-ldcache in isolated namespaces 2025-05-15 12:51:13 +02:00
LICENSE
Makefile
README.md
RELEASE.md
versions.mk Bump version for v1.17.7 release 2025-05-13 22:03:40 +02: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!