Go to file
Evan Lezar ec29b602c3
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:45:49 +02:00
.github Merge pull request #1063 from NVIDIA/dependabot/github_actions/main/slackapi/slack-github-action-2.1.0 2025-05-07 17:19:08 +02:00
cmd Run update-ldcache in isolated namespaces 2025-05-15 12:45:49 +02:00
deployments Bump nvidia/cuda in /deployments/container 2025-05-08 08:38:12 +00:00
docker
hack
internal Add cuda-compat-mode config option 2025-05-13 21:49:53 +02:00
packaging
pkg
scripts
testdata
tests Bump golang.org/x/crypto from 0.37.0 to 0.38.0 in /tests 2025-05-06 08:42:33 +00:00
third_party Bump third_party/libnvidia-container from a198166 to d26524a 2025-05-13 19:48:20 +00:00
vendor Run update-ldcache in isolated namespaces 2025-05-15 12:45:49 +02:00
.common-ci.yml
.dockerignore
.gitignore
.gitlab-ci.yml
.gitmodules
.golangci.yml
.nvidia-ci.yml
CHANGELOG.md
CONTRIBUTING.md
DEVELOPMENT.md
go.mod Run update-ldcache in isolated namespaces 2025-05-15 12:45:49 +02:00
go.sum Run update-ldcache in isolated namespaces 2025-05-15 12:45:49 +02:00
LICENSE
Makefile
README.md
RELEASE.md
versions.mk

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!