This repository has been archived by the owner on Jan 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'CNT-4255/convert-to-meta-package' into 'main'
Convert nvidia-docker2 to a meta package See merge request nvidia/container-toolkit/nvidia-docker!46
- Loading branch information
Showing
14 changed files
with
113 additions
and
451 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
# NVIDIA Container Toolkit | ||
|
||
[![GitHub license](https://img.shields.io/github/license/NVIDIA/nvidia-docker?style=flat-square)](https://raw.githubusercontent.com/NVIDIA/nvidia-docker/main/LICENSE) | ||
[![Documentation](https://img.shields.io/badge/documentation-wiki-blue.svg?style=flat-square)](https://github.com/NVIDIA/nvidia-docker/wiki) | ||
[![Package repository](https://img.shields.io/badge/packages-repository-b956e8.svg?style=flat-square)](https://nvidia.github.io/nvidia-docker) | ||
|
||
![nvidia-gpu-docker](https://cloud.githubusercontent.com/assets/3028125/12213714/5b208976-b632-11e5-8406-38d379ec46aa.png) | ||
**NOTE:** The `nvidia-docker2` package that is generated by this repository is a meta | ||
package that only serves to introduce a dependency on `nvidia-container-toolkit` | ||
package which includes all the components of the [NVIDIA Container Toolkit](https://github.com/NVIDIA/nvidia-container-toolkit). | ||
|
||
## Introduction | ||
The NVIDIA Container Toolkit allows users to build and run GPU accelerated Docker containers. The toolkit includes a container runtime [library](https://github.com/NVIDIA/libnvidia-container) and utilities to automatically configure containers to leverage NVIDIA GPUs. | ||
The `nvidia-docker` wrapper script that was included in this repository is no | ||
longer included in the package and a configuration specific to the target | ||
container engine (e.g. Docker, Containerd, Cri-o, or Podman) is suggested | ||
instead. | ||
|
||
Product documentation including an architecture overview, platform support, installation and usage guides can be found in the [documentation repository](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/overview.html). | ||
For Docker users specifically, the NVIDIA Container Toolkit CLI (`nvidia-ctk`) | ||
includes functionality to ensure that the `nvidia` runtime has been registered | ||
with the Docker daemon. Installing the NVIDIA Container Toolkit and running: | ||
``` | ||
sudo nvidia-ctk runtime configure | ||
``` | ||
will load (or create) an `/etc/docker/daemon.json` file and ensure that the | ||
NVIDIA Container Runtime is configured as a runtime named `nvidia`. | ||
|
||
Frequently asked questions are available on the [wiki](https://github.com/NVIDIA/nvidia-docker/wiki). | ||
Restarting the Docker daemon is required for this to take affect. | ||
|
||
## Getting Started | ||
|
||
**Make sure you have installed the [NVIDIA driver](https://docs.nvidia.com/datacenter/tesla/tesla-installation-notes/index.html) and Docker engine 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](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#docker). | ||
|
||
## Usage | ||
|
||
The [user guide](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/user-guide.html) provides information on the configuration and command line options available when running GPU containers with Docker. | ||
For further instructions, see the NVIDIA Container Toolkit [documentation](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit) | ||
and specifically the [user guide](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/user-guide.html). | ||
|
||
## Issues and Contributing | ||
|
||
[Checkout the Contributing document!](CONTRIBUTING.md) | ||
|
||
* Please let us know by [filing a new issue](https://github.com/NVIDIA/nvidia-docker/issues/new) | ||
* You can contribute by opening a [merge request](https://gitlab.com/nvidia/container-toolkit/nvidia-docker/-/merge_requests) | ||
* Please let us know by [filing a new issue](https://github.com/NVIDIA/nvidia-container-toolkit/issues/new) against the `nvidia-container-toolkit` repository. | ||
* You can contribute by opening a [merge request](https://gitlab.com/nvidia/container-toolkit/container-toolkit/-/merge_requests) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.