NVIDIA container runtime library
This repository provides a library and a simple CLI utility to automatically configure GNU/Linux containers leveraging NVIDIA hardware.
The implementation relies on kernel primitives and is designed to be agnostic of the container runtime.
Configure the package repository for your Linux distribution.
Install the packages:
libnvidia-container1
libnvidia-container-toolsWith Docker:
# Generate docker images for a supported
make {ubuntu18.04, ubuntu16.04, debian10, debian9, centos7, amazonlinux2, opensuse-leap15.1}
# Or generate docker images for all supported distributions in the dist/ directory
make dockerThe resulting images have the name nvidia/libnvidia-container/:
Without Docker:
make install
# Alternatively in order to customize the installation paths
DESTDIR=/path/to/root make install prefix=/usrRefer to the nvidia-container-runtime project.
…This project is released under the BSD 3-clause license.
Additionally, this project can be dynamically linked with libelf from the elfutils package (https://sourceware.org/elfutils), in which case additional terms apply.
Refer to NOTICE for more information.
Checkout the Contributing document!
No open issues yet, or sync has not completed.