centos中docker:Error response from daemon: could not select device driver ““ with capabilities: [[gpu

在centos进行docker跑程序出现问题

想要在docker上面深度学习模型时,出现了来自daemon的错误响应:could not select device driver “” with capabilities: [[gpu]]

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

于是我在网上寻找解决方案,但发现很多解决方案是基于ubuntu的。例如https://www.cnblogs.com/dan-baishucaizi/p/15102419.html。
反正总而言之,都是说要要在宿主服务器上安装nvidia-container-toolkitnvidia-container-runtime。然后我就找如何在centos系统上安装这两个东西。
首先,在这个博客中找到方法(https://blog.csdn.ne

你可能感兴趣的:(Linux,centos,linux,centos,docker)