You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:\~$ 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?
The text was updated successfully, but these errors were encountered:
I had the same issue, and i can see you are also on Ubuntu. Maybe you have Docker Desktop installed alongside your CLI installation which is overwriting the context - check with docker context ls. Docker Desktop currently only supports GPU on Windows and WSL2, see: https://docs.docker.com/desktop/features/gpu/ . For me switching to the default context with docker context use default was the solution
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?
The text was updated successfully, but these errors were encountered: