Docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]]

Hello,

docker run --gpus all -it --name trt_test nvcr.io/nvidia/tensorrt:20.12-py3
docker: Error response from daemon: could not select device driver “” with capabilities: [[gpu]].
ERRO[0005] error waiting for container: context canceled

Can you tell me how to resolve this problem?
Thank you.

have you solved it ? I have the same error .

Did anyone resolved the issue, please do share the process.

Requesting Nvidia experts, kindly respond the queries pending.

Thanks and Regards,
Vyom Mishra

1 Like

Resolved issue, In my case the repo was broken, but it could simply be nvidia-container-toolkit-base missing
Try:

sudo apt-get update
sudo apt-get install -y nvidia-container-toolkit

if its not able to install, repair your repository following instructions found here:
apt-get can’t find nvidia-container-toolkit-base #1731