docker: Error response from daemon: could not select device driver ““ with capabilities: [[gpu]].
Posted 奇妙之二进制
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了docker: Error response from daemon: could not select device driver ““ with capabilities: [[gpu]].相关的知识,希望对你有一定的参考价值。
错误信息
$ sudo docker run --rm --gpus all nvidia/cuda:11.0-base nvidia-smi
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].
安装nvidia docker环境
https://blog.csdn.net/u012135425/article/details/107676129
重启docker并测试
$ systemctl restart docker
$ sudo docker run --rm --gpus all nvidia/cuda:11.0-base nvidia-smi
Tue Jun 21 06:08:39 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 515.48.07 Driver Version: 515.48.07 CUDA Version: 11.7 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:01:00.0 Off | N/A |
| 26% 33C P8 9W / 120W | 5MiB / 6144MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
+-----------------------------------------------------------------------------+
以上是关于docker: Error response from daemon: could not select device driver ““ with capabilities: [[gpu]].的主要内容,如果未能解决你的问题,请参考以下文章
Docker Error response from daemon,Docker 换镜像
Docker获取镜像报错docker: Error response from daemon
docker login 错误 Error response from daemon:
docker pull 镜像时提示Error response from daemon
Docker执行错误报错--Error response from daemon: No command specified
本地docker不能登录远程harbor服务器,error response from daemon,error parsing http 403 response body