大佬教程收集整理的这篇文章主要介绍了docker拉取镜像时报错ERROR: failed to do request: Head https://registry-1.docker.io/v2/pytorch/pytorch/manif,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
docker 执行docker file文件时报错:
@H_944_9@#3 ERROR: Failed to do request: Head https://registry-1.docker.io/v2/pytorch/pytorch/manifests/1.6.0-cuda10.1-cudnn7-devel: dial tcp: lookup registry-1.docker.io on 192.168.65.5:53: no such host > [internal] load Metadata for docker.io/pytorch/pytorch:1.6.0-cuda10.1-cudnn7-devel: Failed to solve with frontend dockerfile.v0: Failed to create LLB deFinition: Failed to do request: Head https://registry-1.docker.io/v2/pytorch/pytorch/manifests/1.6.0-cuda10.1-cudnn7-devel: dial tcp: lookup registry-1.docker.io on 192.168.65.5:53: no such host
或者,docker拉取镜像时报错:
@H_944_9@Error response from daemon: Head https://registry-1.docker.io/v2/nvidia/cuda/manifests/10.1-cudnn7-devel-ubuntu16.04: Get https://auth.docker.io/token?account=yang929604665&scope=repository%3Anvidia%2Fcuda%3Apull&service=registry.docker.io: EOF
鉴于国内网络问题,后续拉取 Docker 镜像十分缓慢,需要配置加速器来解决,可以使用的是网易的镜像地址:http://hub-mirror.c.163.com。
在
@H_944_9@C:\Users\用户名\.docker
路径的
daemon.json文件中,修改为
@H_944_9@{ "registry-mirrors": ["http://hub-mirror.c.163.com"], }
以上是大佬教程为你收集整理的docker拉取镜像时报错ERROR: failed to do request: Head https://registry-1.docker.io/v2/pytorch/pytorch/manif全部内容,希望文章能够帮你解决docker拉取镜像时报错ERROR: failed to do request: Head https://registry-1.docker.io/v2/pytorch/pytorch/manif所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。