本文介绍了docker不运行Windows错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了docker,并按照以下说明进行操作:,但是当我运行boot2docker时,会发生这种情况:

I've installed docker and followed the directions here: https://docs.docker.com/installation/windows/#installation but when I run boot2docker start this happens:

 Trying to get IP one more time
  exit status 255
 Docker client does not run on Windows for now. Please use
     "boot2docker" ssh
  to SSH into the VM instead

尝试boot2docker ssh导致相同的255错误。我尝试使用boot2docker IP获取VM IP,但也没有任何内容 - 我认为因为boot2locker在启动过程中没有成功。

Trying boot2docker ssh results in the same 255 error. I tried to get the VM IP with boot2docker IP but that also yielded nothing - I presume because boot2locker wasn't successful in the start process.

一些观察结果。我在vm设置中,并没有指定任何网络或存储设置,并且vm设置中的内存分配与config(boot2docker config)中的值不匹配。 boot2docker启动/停止命令工作。

A couple of observations...I lloked at the vm settings and there wasn't any network or storage settings specified and the memory allocation in the vm settings didn't match the values in the config (boot2docker config). The boot2docker start/stop commands work.

我被困了。

推荐答案

我观察到类似的问题。以下步骤帮助我:

I observed similar issue. Following steps helped me:


  1. 打开VirtualBox GUI。

  2. 删除 boot2docker -vm 虚拟机。

  3. 开始 Boot2Docker开始 ---它将重新创建 boot2docker-vm 虚拟机。

  1. Open VirtualBox GUI.
  2. Remove boot2docker-vm virtual machine.
  3. Start Boot2Docker Start --- it will recreate boot2docker-vm virtual machine.

这篇关于docker不运行Windows错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-13 17:49