docker拉取镜像很慢

创建daemon.json文件

cd /etc/docker/
vi daemon.json

添加镜像

{
       "runtimes": {
           "nvidia": {
               "path": "nvidia-container-runtime",
               "runtimeArgs": []
               }
           },
        "registry-mirrors" : ["https://hub-mirror.c.163.com", "https://mirror.baidubce.com","https://9rw3bt31.mirror.aliyuncs.com"]
   }

退出重启docker

systemctl daemon-reload
systemctl restart docker

你可能感兴趣的:(安装下载软件,docker,容器)