degerli / nvidia-docker

Build and run Docker containers leveraging NVIDIA GPUs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NVIDIA Container Toolkit

GitHub license

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.

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.

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.

Restarting the Docker daemon is required for this to take affect.

For further instructions, see the NVIDIA Container Toolkit documentation and specifically the user guide.

Issues and Contributing

Checkout the Contributing document!

About

Build and run Docker containers leveraging NVIDIA GPUs

License:Apache License 2.0


Languages

Language:Makefile 100.0%