Docker:守护程序超时的错误响应

时间:2018-07-29 14:00:32

标签: docker windows-10 virtualbox

我开始致力于Docker容器化。为此,首先,我在装有Window 10主目录的笔记本电脑上安装了Oracle Virtual Box。 然后在虚拟机上安装一个Ubuntu,并安装docker。 因此,现在docker工作正常,但我面临一个问题。 当我运行以下命令时,它给了我错误。

sudo docker run hello-world

错误屏幕截图:

enter image description here

我还读了几篇文章,说这可能是由于某些互联网设置所致,我尝试了所有尝试,但无法解决。

1 个答案:

答案 0 :(得分:0)

您遇到的错误与Docker无关,但与虚拟机的配置有关。

您遇到的错误是因为Docker试图下载映像>> test=transpose([1:1:20]) %transpose() for illustration purpose, it doesn't %change the behavior of the slicing operations array = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 >> reverse_array = array(end:-1:1) reverse_array = 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 >> every_fourth = reverse_array(1:4:end) every_fourth = 20 16 12 8 4 ,但它无法访问Internet。

要解决您的问题,您需要寻找将VirtualBox连接到互联网的方法,StackOverflow上有许多链接可以帮助您,请查看:https://stackoverflow.com/search?q=virtual+box+no+internet+access