【问题标题】:Docker Windows 7: Could not find matching IP for MAC address errorDocker Windows 7:找不到 MAC 地址错误的匹配 IP
【发布时间】:2017-08-21 23:08:30
【问题描述】:

过去 6 个月以来,我一直使用 Docker ToolBox 在 Windows 上运行 Docker。突然,当启动我的 docker 控制台时,我开始收到以下错误:

Error creating machine: Error running provisioning: Could not find matching IP for MAC address 0800270a0700

我在 GitHub 和 SO 上遇到了许多线程,大多数人建议完全删除包括 Virtual Box 在内的 Docker 设置并重新安装它。我这样做了,但是即使在干净的设置中我也遇到了同样的错误。

到目前为止,我尝试了以下事情:

  • 干净地重新安装 docker 和 Virtual Box
  • 确保在下次安装之前删除我找到的所有 docker 相关文件夹(删除了 .docker.virtualbox 文件夹)
  • 还通过执行docker-machine rm default 在新安装失败后删除了现有设置上的默认 docker-machine

另外,需要注意的是,当我进行全新安装时,我可以看到,当我第一次启动 docker quickstart 时,它会从头开始一切,除了一件事。我看到这条消息,它

Found a new host-only adapter: "VirtualBox Host-Only Ethernet Adapter#2

这提出了如果找到它一定不是新的问题,对吗?还有为什么它是#2?为什么不是#1或没有号码?我提出这个问题的原因是因为我怀疑当clean-install 发生时,它真的不干净,我认为它从某个地方得到了一些搞砸的设置,并且某个地方很可能是这个网络适配器

如果我查看 Docker 机器内的日志,那么日志如下所示。现在确定这是否有帮助

00:00:48.657014 VMMDev: Guest Log: 00:00:00.009234 vminfo rtldrNativeLoad: dlopen('libdbus-1.so.3', RTLD_NOW | RTLD_LOCAL) failed: libdbus-1.so.3: cannot open shared object file: No such file or directory 00:00:48.657044 VMMDev: Guest Log: 00:00:00.009268 vminfo Error: Unable to connect to system D-Bus (1/3): D-Bus not installed 00:00:48.659892 VMMDev: Guest Additions capability report: (0x0 -> 0x0) seamless: no, hostWindowMapping: no, graphics: no 00:00:48.805170 NAT: IPv6 not supported 00:00:50.624628 NAT: DHCP offered IP address 10.0.2.15 00:00:50.624913 NAT: DHCP offered IP address 10.0.2.15 00:00:53.656655 VMMDev: Guest Log: 00:00:05.010825 vminfo Error: Unable to connect to system D-Bus (2/3): D-Bus not installed 00:00:58.658074 VMMDev: Guest Log: 00:00:10.012264 vminfo Error: Unable to connect to system D-Bus (3/3): D-Bus not installed 00:01:00.230853 VMMDev: SetVideoModeHint: Got a video mode hint (800x600x0)@(0x0),(1;0) at 0 00:01:44.873806 Changing the VM state from 'RUNNING' to 'SUSPENDING' 00:01:45.187049 PDMR3Suspend: 313 213 266 ns run time 00:01:45.187066 Changing the VM state from 'SUSPENDING' to 'SUSPENDED' 00:01:45.187073 Console: Machine state changed to 'Paused' 00:01:48.209792 Changing the VM state from 'SUSPENDED' to 'RESUMING' 00:01:48.247728 Changing the VM state from 'RESUMING' to 'RUNNING' 00:01:48.247754 Console: Machine state changed to 'Running' 00:06:42.762538 Changing the VM state from 'RUNNING' to 'SUSPENDING' 00:06:42.958664 PDMR3Suspend: 196 100 930 ns run time 00:06:42.958705 Changing the VM state from 'SUSPENDING' to 'SUSPENDED' 00:06:42.958714 Console: Machine state changed to 'Paused'

到目前为止,我没有运气。有什么帮助吗?

【问题讨论】:

  • 你检查过这个线程吗 - stackoverflow.com/questions/36783979/…
  • @Rao yup 我做了并按照说明进行操作,但没有运气
  • 您是否可以在 VM 中手动启动机器,您是否看到其中有任何错误?
  • @TarunLalwani,docker-machine 没有显示任何错误,但我提取了 docker 机器的日志,似乎他们有一些错误。我用这些日志更新了我的问题详细信息。希望有帮助
  • 您使用的是像 Citrix 这样的 VPN 吗?如果是这样,请断开它,然后尝试创建机器。

标签: docker boot2docker docker-machine


【解决方案1】:

您是否使用像 Citrix 这样的 VPN?如果是这样,请断开它,然后尝试创建机器。

【讨论】:

    猜你喜欢
    • 2022-06-14
    • 2011-03-11
    • 2011-02-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多