Go to file
2018-01-13 00:41:50 +01:00
build Update changelog for 1.0.1 2017-03-02 18:15:33 -08:00
samples Remove all Dockerfiles, they are now hosted on GitLab 2017-02-06 11:39:13 -08:00
src Add RegisterEventForDevice 2018-01-13 00:41:50 +01:00
.gitignore Move sources to the top-level of the repository 2017-02-06 13:39:25 -08:00
CLA Update CLA 2015-11-13 10:05:15 -08:00
Dockerfile.build Move sources to the top-level of the repository 2017-02-06 13:39:25 -08:00
Dockerfile.deb Move sources to the top-level of the repository 2017-02-06 13:39:25 -08:00
Dockerfile.rpm Move sources to the top-level of the repository 2017-02-06 13:39:25 -08:00
LICENSE Bump copyright year 2016-01-04 19:53:16 -08:00
Makefile Update changelog for 1.0.1 2017-03-02 18:15:33 -08:00
README.md Update README.md 2017-07-22 12:54:03 -07:00

Docker Engine Utility for NVIDIA GPUs

nvidia-gpu-docker

Documentation

The full documentation is available on the repository wiki.
A good place to start is to understand why nvidia-docker is needed in the first place.

Quick start

Assuming the NVIDIA drivers and Docker® Engine are properly installed (see installation)

Ubuntu distributions

# Install nvidia-docker and nvidia-docker-plugin
wget -P /tmp https://github.com/NVIDIA/nvidia-docker/releases/download/v1.0.1/nvidia-docker_1.0.1-1_amd64.deb
sudo dpkg -i /tmp/nvidia-docker*.deb && rm /tmp/nvidia-docker*.deb

# Test nvidia-smi
nvidia-docker run --rm nvidia/cuda nvidia-smi

CentOS distributions

# Install nvidia-docker and nvidia-docker-plugin
wget -P /tmp https://github.com/NVIDIA/nvidia-docker/releases/download/v1.0.1/nvidia-docker-1.0.1-1.x86_64.rpm
sudo rpm -i /tmp/nvidia-docker*.rpm && rm /tmp/nvidia-docker*.rpm
sudo systemctl start nvidia-docker

# Test nvidia-smi
nvidia-docker run --rm nvidia/cuda nvidia-smi

Other distributions

# Install nvidia-docker and nvidia-docker-plugin
wget -P /tmp https://github.com/NVIDIA/nvidia-docker/releases/download/v1.0.1/nvidia-docker_1.0.1_amd64.tar.xz
sudo tar --strip-components=1 -C /usr/bin -xvf /tmp/nvidia-docker*.tar.xz && rm /tmp/nvidia-docker*.tar.xz

# Run nvidia-docker-plugin
sudo -b nohup nvidia-docker-plugin > /tmp/nvidia-docker.log

# Test nvidia-smi
nvidia-docker run --rm nvidia/cuda nvidia-smi

Issues and Contributing

A signed copy of the Contributor License Agreement needs to be provided to digits@nvidia.com before any change can be accepted.