I am able to resolve the error by restarting the demon and the docker
sudo apt install -y nvidia-docker2
sudo systemctl daemon-reload
sudo systemctl restart docker
25 Likes
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]] | 3 | 1638 | March 15, 2023 | |
Could not select device driver "" with capabilities [[gpu]] | 2 | 1799 | May 13, 2022 | |
Docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]] despite correct driver and cuda toolkit | 0 | 310 | August 27, 2024 | |
Nvidia-docker outputs an error after installation | 0 | 1626 | December 21, 2021 | |
Failed to initialize NVML: Unknown Error when running nvidia-smi on Docker container | 2 | 10778 | October 18, 2020 | |
Run docker ( | 0 | 665 | February 28, 2023 | |
(HTTP code 500) server error - could not select device driver “” with capabilities: [[gpu]] | 0 | 202 | March 6, 2025 | |
NVIDIA driver is not available on latest docker | 8 | 5819 | July 5, 2023 | |
Docker not detecting Nvidia GPU | 3 | 2608 | February 17, 2025 | |
GPU becomes unavailable after some time in Docker container | 4 | 4068 | October 12, 2021 |