sudo echo "deb https://nvidia.github.io/nvidia-docker/debian10/\$(ARCH) /" >>/etc/apt/sources.list.d/nvidia-docker.list 7.更新软件源,并且安装 nvidia-docker2 sudo apt-get install -y nvidia-docker2 8.重启docker sudo systemctl restart docker 9.验证是否安装成功 sudo nvidia-docker run --...