Go to file
Evan Lezar fa5a4ac499
Read ldcache at construction instead of on each locate call
This change udpates the ldcache locator to read the ldcache at construction
and use these contents to perform future lookups against. Each of the cache
entries are resolved and lookups return the resolved target.

Assuming a symlink chain: libcuda.so -> libcuda.so.1 -> libcuda.so.VERSION, this
means that libcuda.so.VERION will be returned for any of the following inputs:
libcuda.so, libcuda.so.1, libcudal.so.*.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2024-10-24 23:12:58 +02:00
.github Merge pull request #691 from elezar/fix-codeql 2024-10-01 11:39:34 +02:00
cmd Remove unsupported print-ldcache command 2024-10-24 15:56:25 +02:00
deployments Merge pull request #726 from NVIDIA/dependabot/docker/deployments/devel/main/golang-1.23.2 2024-10-21 10:11:21 -07:00
docker
hack [no-relnote] Fix typo in script 2024-10-16 10:53:45 +02:00
internal Read ldcache at construction instead of on each locate call 2024-10-24 23:12:58 +02:00
packaging
pkg [TOML ConfigSource] add support for executing fallback CLI commands 2024-10-23 14:26:17 -07:00
scripts [no-relnote] Don't check for submodule changes 2024-09-20 20:20:36 +02:00
test
testdata [no-relnote] Add test for libcuda lookup 2024-10-24 15:56:25 +02:00
third_party Bump third_party/libnvidia-container from 921e2f3 to 63d366e 2024-10-17 16:02:52 +00:00
tools/container Add aliases for runtime-specific envvars 2024-10-18 12:16:50 +02:00
vendor Bump golang.org/x/sys from 0.25.0 to 0.26.0 2024-10-06 08:57:11 +00:00
.common-ci.yml
.dockerignore Add dockerfile and makefile to build toolkit-container 2021-10-22 11:57:55 +02:00
.gitignore Update gitignore 2023-02-13 16:09:45 +01:00
.gitlab-ci.yml
.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
CHANGELOG.md Bump version for v1.17.0-rc.1 release 2024-10-18 15:33:12 +02:00
CONTRIBUTING.md
DEVELOPMENT.md
go.mod Bump golang.org/x/sys from 0.25.0 to 0.26.0 2024-10-06 08:57:11 +00:00
go.sum Bump golang.org/x/sys from 0.25.0 to 0.26.0 2024-10-06 08:57:11 +00:00
LICENSE
Makefile Add -z,lazy to LDFLAGS 2024-10-11 15:20:06 +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.0-rc.1 release 2024-10-18 15:33:12 +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!