Docker-机器 - IP 地址冲突
Docker-machine - IP address conflict
这是我的环境:
- Windows 7 64 位
- Docker 对于 windows
创建新机器时遇到IP地址冲突:
并且控制台卡在启动 VM 阶段
Creating VirtualBox VM...
Creating SSH key...
Starting VirtualBox VM...
Starting VM...
此外,当我按 Ctrl-C 停止脚本和 运行 eval "$(docker-machine env dev)",我收到以下错误:
$ eval "$(docker-machine env dev)"
open C:\Users\jacob.phan\.docker\machine\machines\dev\ca.pem: The system cannot
find the file specified.
我为这个问题苦苦挣扎了一段时间,最后,我注意到在 boot2docker 中为新 VM 创建了错误的网络接口:
如果您的网络与此不同,请尝试检查您的网络配置。
Ethernet adapter VirtualBox Host-Only Network:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::6198:761d:eec:5394%18
IPv4 Address. . . . . . . . . . . : 192.168.56.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
我当时创建了一个错误的 VirtualBox DHCP 网络,导致了这个问题。当我删除时,一切正常
这是我的环境:
- Windows 7 64 位
- Docker 对于 windows
创建新机器时遇到IP地址冲突:
并且控制台卡在启动 VM 阶段
Creating VirtualBox VM...
Creating SSH key...
Starting VirtualBox VM...
Starting VM...
此外,当我按 Ctrl-C 停止脚本和 运行 eval "$(docker-machine env dev)",我收到以下错误:
$ eval "$(docker-machine env dev)"
open C:\Users\jacob.phan\.docker\machine\machines\dev\ca.pem: The system cannot
find the file specified.
我为这个问题苦苦挣扎了一段时间,最后,我注意到在 boot2docker 中为新 VM 创建了错误的网络接口:
如果您的网络与此不同,请尝试检查您的网络配置。
Ethernet adapter VirtualBox Host-Only Network:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::6198:761d:eec:5394%18
IPv4 Address. . . . . . . . . . . : 192.168.56.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
我当时创建了一个错误的 VirtualBox DHCP 网络,导致了这个问题。当我删除时,一切正常