Docker在win7环境虚拟机中 docker pull hello-world  报错

Error while pulling image: Get https://index.docker.io/v1/repositories/library/hello-world/images: dial tcp: lookup index.docker.io on 10.0.2.3:53: server misbehaving

 

解决

修改虚拟机中/etc/resolv.conf

修改前

nameserver 10.0.2.3

修改后

nameserver 8.8.8.8

 

Logo

云原生社区为您提供最前沿的新闻资讯和知识内容

更多推荐