Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

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

# Add the package repositories
distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add -
curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list

sudo apt-get update && sudo apt-get install -y nvidia-container-toolkit
sudo systemctl restart docker
Source by github.com #
 
PREVIOUS NEXT
Tagged: #Error #response #select #device #driver
ADD COMMENT
Topic
Name
8+1 =