sudo /etc/docker/daemon.json
{
"registry-mirrors": [
"https://dockerhub.azk8s.cn",
"https://reg-mirror.qiniu.com",
"https://registry.docker-cn.com",
"http://docker.mirrors.ustc.edu.cn",
"http://hub-mirror.c.163.com"
]
}
sudo systemctl restart docker
附docker hub上cuda-cudnn镜像地址:
https://hub.docker.com/r/nvidia/cuda/tags
cuda10.2+cudnn8+ubuntu18.04:
docker pull nvidia/cuda:10.2-cudnn8-devel-ubuntu18.04