How can I install cuda 9 with nvidia docker?


I’m trying to install CUDA 9 with NVIDIA Docker following this guide :

NVIDIA Developer Blog – 28 Jun 16

NVIDIA Docker: GPU Server Application Deployment Made Easy | NVIDIA Developer…

Introduction to Docker containers and NVIDIA Docker plugin for easy deployment of GPU-accelerated applications such as deep learning frameworks on GPU servers

this is the command that I should issue :

(base) root@ziom-Z87-HD3:/home/ziom# docker run --rm -ti nvidia/cuda:9.0 nvcc --version

but it does not work because this error message :

Unable to find image 'nvidia/cuda:9.0' locally
docker: Error response from daemon: manifest for nvidia/cuda:9.0 not found: manifest unknown: manifest unknown.

I’ve googled a little bit and I found that the right command could be this :

(base) root@ziom-Z87-HD3:/home/ziom# docker run --rm nvidia/cuda:9.0-base nvidia-smi

but I get the following error :

docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: start