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

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐