networking超时..不能拉图像

我当前的操作系统是Windows 10,我已经安装了Virtual Box,然后在其上添加了一个Ubuntu VM。 我在Ubuntu上安装了docker-engine,并添加了不安全的registry。 但是,当我试图拉图像..他总是说“networking超时错误”。 我已经尝试了Google的大部分build议,但都没有成功。 我甚至不能像docker pull hello-world一样从公共DockerHub中提取图像

请帮助我。

我正在按照以下顺序执行这些命令

sudo docker pull hello-world 

输出:

 using default tag : latest Pulling repository docker.io/library/hello-world Network timed out while trying to connect to https://index.docker.io/v1/repositories/lirary/hello-world/iamges. You may want to check your internet connection or if you are behind proxy. 

我的pipe理团队确认我们没有在公司中使用任何代理。

几个细节

  • 操作系统:Windows 10
  • 虚拟盒子:5.1.2
  • VM:Ubuntu 16.04 LTS
  • Docker:1.11.2

我正在努力与这不知道发生了什么..请帮助我。

感谢并感谢您的反馈。

我遇到过同样的问题。 对我来说这是VirtualBox的networking问题。 我将networking“适配器1”configuration为如下所示(附件 – > NAT和端口转发(名称:ssh,协议:TCP,主机IP:127.0.0.1,主机端口:22,客户IP:客户协议:22)) 。

我希望它有帮助,问候!