1,好的安装教程https://blog.csdn.net/qq_33980935/article/details/140922446```shell tar -zxvf nvidia-container-runtime.tar.gz cd nvidia-container-runtime rpm -ivh --nodeps *.rpm docker save -o nvidia_cuda_ubuntu20.04.tar my_image:latest docker load -i nvidia_cuda_ubuntu20.04.tar`````` systemctl restart docker whereis nvidia-container-runtime ```2、下载镜像:https://www.cnblogs.com/xyz/p/17590168.html``` #拉取镜像 docker pull --platform=linux/x86_64 nvidia/cuda:11.8.0-cudnn8-devel-centos7 `````` docker run --gpus all -it --shm-size 64G -v /home/docker/labelTransform:/usr/src/app/datasets --name ubuntu20.04 nvidia/cuda:11.4.3-cudnn8-devel-ubuntu20.04```