Name: nvidia-docker
Owner: NVIDIA Corporation
Description: Build and run Docker containers leveraging NVIDIA GPUs
Created: 2015-11-04 18:04:49.0
Updated: 2018-01-18 17:54:31.0
Pushed: 2018-01-12 23:54:00.0
Size: 17445
Language: Makefile
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
The full documentation and frequently asked questions are available on the repository wiki.
Make sure you have installed the NVIDIA driver and a supported version of Docker for your distribution (see prerequisites).
If you have a custom /etc/docker/daemon.json
, the nvidia-docker2
package might override it.
you have nvidia-docker 1.0 installed: we need to remove it and all existing GPU containers
er volume ls -q -f driver=nvidia-docker | xargs -r -I{} -n1 docker ps -q -a -f volume={} | xargs -r docker rm -f
apt-get purge -y nvidia-docker
d the package repositories
-s -L https://nvidia.github.io/nvidia-docker/gpgkey | \
do apt-key add -
-s -L https://nvidia.github.io/nvidia-docker/ubuntu16.04/amd64/nvidia-docker.list | \
do tee /etc/apt/sources.list.d/nvidia-docker.list
apt-get update
stall nvidia-docker2 and reload the Docker daemon configuration
apt-get install -y nvidia-docker2
pkill -SIGHUP dockerd
st nvidia-smi with the latest official CUDA image
er run --runtime=nvidia --rm nvidia/cuda nvidia-smi
you have nvidia-docker 1.0 installed: we need to remove it and all existing GPU containers
er volume ls -q -f driver=nvidia-docker | xargs -r -I{} -n1 docker ps -q -a -f volume={} | xargs -r docker rm -f
yum remove nvidia-docker
d the package repositories
-s -L https://nvidia.github.io/nvidia-docker/centos7/x86_64/nvidia-docker.repo | \
do tee /etc/yum.repos.d/nvidia-docker.repo
stall nvidia-docker2 and reload the Docker daemon configuration
yum install -y nvidia-docker2
pkill -SIGHUP dockerd
st nvidia-smi with the latest official CUDA image
er run --runtime=nvidia --rm nvidia/cuda nvidia-smi
Look at the Installation section of the wiki.
A signed copy of the Contributor License Agreement needs to be provided to digits@nvidia.com before any change can be accepted.