赞
踩
在执行Verify that Docker Engine is installed correctly 中的命令
sudo docker run --rm --gpus all nvidia/cuda:11.0-base nvidia-smi
Error info:
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].
这是由于没有配置好docker运行环境导致的,执行安装容器运行环境(以Ubuntu为例)
sudo apt-get install nvidia-container-runtime
Restartdocker:
systemctl restart docker
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。