Docker Community Forums

Share and learn in the Docker community.

How can I install cuda 9 with nvidia docker?

Hello.

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

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