nvidia-docker icon indicating copy to clipboard operation
nvidia-docker copied to clipboard

could not select device driver with capabilities

Open Maryamtarazkar opened this issue 3 years ago • 1 comments

Dear Docker support team, I am trying to install a software that needs to run on GPU. when I check whether that software is able to use a GPU uisng follwoing command; docker run --rm --gpus all nvidia/cuda:11.0-base nvidia-smi

I get following error; docker: Error response from daemon: could not select device driver with capabilities: [[gpu]].

Can someone help me how to fix this error?

Thanks in advanced

Maryamtarazkar avatar May 20 '22 22:05 Maryamtarazkar

Hi @Maryamtarazkar. Some questions:

  • Is the NVIDIA Container Toolkit installed (nvidia-container-toolkit)?
  • How is docker installed?

A similar issue was recently reported in #1637 and this was due to docker being installed as a snap.

elezar avatar May 23 '22 07:05 elezar

Closing this issue do to lack of activity. If you're still having problems please open an issue against https://github.com/NVIDIA/nvidia-container-toolkit instead.

elezar avatar Nov 27 '23 11:11 elezar