Sorry to bother again,
According to https://github.com/NVIDIA/nvidia-docker/issues/399 , I am using the correct driver version with GTX1080 .
Docs(https://github.com/nvidia/nvidia-docker/wiki/CUDA#requirements) also says
8.0 | >= 367.48 | >= 2.0 (Fermi)
But
[root@repo system ]$ docker run --runtime=nvidia --rm nvidia/cuda nvidia-smi
got error :
container_linux.go:265: starting container process caused "process_linux.go:368: container init caused \"process_linux.go:351: running p
restart hook 1 caused \\\"error running hook: exit status 1, stdout: , stderr: exec command: [/usr/bin/nvidia-container-cli --load-kmods
configure --ldconfig=@/sbin/ldconfig --device=all --compute --utility --require=cuda>=9.0 --pid=36229 /data/dockerdata/devicemapper/mnt
/ab7fe7a46710e331a8dacffa0f1f3831244d383abf819014adf6a2ba950ee189/rootfs]\\\\nnvidia-container-cli: requirement error: unsatisfied condi
tion: cuda >= 9.0\\\\n\\\"\""
docker: Error response from daemon: oci runtime error: container_linux.go:265: starting container process caused "process_linux.go:368:
container init caused \"process_linux.go:351: running prestart hook 1 caused \\\"error running hook: exit status 1, stdout: , stderr: ex
ec command: [/usr/bin/nvidia-container-cli --load-kmods configure --ldconfig=@/sbin/ldconfig --device=all --compute --utility --require=
cuda>=9.0 --pid=36229 /data/dockerdata/devicemapper/mnt/ab7fe7a46710e331a8dacffa0f1f3831244d383abf819014adf6a2ba950ee189/rootfs]\\\\nnvi
dia-container-cli: requirement error: unsatisfied condition: cuda >= 9.0\\\\n\\\"\"".
Do I need update to cuda 9.0 ?
You need to upgrade your driver. This is 9.0, not 8.0.
Or, you can use the nvidia/cuda:8.0-devel image and keep your driver.
Oh, I understand, it is by cuda version of docker image! Thank you .
Most helpful comment
You need to upgrade your driver. This is 9.0, not 8.0.
Or, you can use the
nvidia/cuda:8.0-develimage and keep your driver.