docker: Error response from daemon: could not select driver***

created at 07-05-2021 views: 5

Problem

The following error occurred when running docker:

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

solution

1.First install Install nvidia-container-toolkit via the following command

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

2.Then execute systemctl restart dockerd to restart the docker service.

problem solved!

Please log in to leave a comment.