Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]]. #854

Open
niktheod opened this issue Jan 10, 2025 · 0 comments

Comments

@niktheod
Copy link

I have docker and nvidia-container-toolkit installed on my system (Ubuntu 24.04) but I keep getting the error on the title when I try to run any image that needs access to gpu.

Here are some more details for my setup:

(base) nikostheodoridis@Aurora1:\~$ docker --version
Docker version 27.4.1, build b9d17ea

(base) nikostheodoridis@Aurora1:\~$ dpkg -l | grep nvidia-container-toolkit
ii nvidia-container-toolkit 1.17.3-1 amd64 NVIDIA Container toolkit
ii nvidia-container-toolkit-base 1.17.3-1 amd64 NVIDIA Container Toolkit Base

(base) nikostheodoridis@Aurora1:\~$ cat /etc/docker/daemon.json
{
"runtimes": {
"nvidia": {
"path": "nvidia-container-runtime",
"runtimeArgs": []
}
}
}

(base) nikostheodoridis@Aurora1:\~$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
nvidia/cuda 12.6.3-cudnn-devel-ubuntu24.04 50efab398f76 6 weeks ago 12.9GB
airsplay/bottom-up-attention latest 66d17015f76c 5 years ago 5.92GB

(base) nikostheodoridis@Aurora1:~$ docker run --rm --gpus all nvidia/cuda:12.6.3-cudnn-devel-ubuntu24.04 nvidia-smi
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].`

Any idea what could be wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant