一、安装 Docker
可以参考这篇文章
https://blog.csdn.net/weixin_43721000/article/details/124237932
二、安装 NVIDIA Container Toolkit
参考nvidia官方
https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html
-
安装 nvidia-docker
-
centos安装方法
- Configure the repository
curl -s
- Configure the repository
-