Evan Lezar 029a04c37d Use blank device hostPath if same as Path
The HostPath field was added in the v0.5.0 CDI specification.
The cdi package uses strict unmarshalling when loading specs
from file causing failures for unexpected fields.

Since the behaviour for HostPath == "" and HostPath == Path are
equivalent, we clear HostPath if it is equal to Path to ensure
compatibility with the widest range of specs.

This allows, for example, a v0.4.0 spec to be generated as required.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2022-12-02 10:01:22 +01:00
2022-12-01 16:21:50 +01:00
2022-09-14 14:17:46 +02:00
2022-11-03 14:25:31 +01:00
2022-09-29 12:11:41 +02:00
2022-11-10 14:43:19 +01:00
2022-10-04 14:11:10 +02:00
2022-11-23 21:26:34 +01:00
2022-11-21 09:35:03 +01:00
2022-11-21 09:35:03 +01:00
2021-05-18 11:25:52 +02:00
2022-09-05 15:57:29 +02:00
2022-04-12 14:52:38 +02:00
2022-11-23 21:26:34 +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!

Description
No description provided
Readme 20 MiB
Languages
Go 88.4%
Shell 5.9%
C 3.3%
Makefile 1.6%
Dockerfile 0.7%
Other 0.1%