Machine: Could not find matching IP for MAC address error on Windows 10

Created on 26 Apr 2016  路  6Comments  路  Source: docker/machine

Hi!

I continuously get this error on my Windows 10 machine. I've tried to reinstall DockerTools, VirtualBox, tried different versions of docker-machine (more of this here - http://stackoverflow.com/questions/36783979/docker-machine-error-could-not-find-matching-ip-for-mac-address-on-windows-10). Nothing helps.

Windows version:
C:Program FilesOracleVirtualBox>ver
Microsoft Windows [Version 10.0.10586]

docker-machine version
docker-machine.exe version 0.7.0, build a650a40

VirtualBox version
Version 5.0.18 r106667

This is how it looks like.

  1. Firstly I remove all Host Only networks from my VirtualBox as I saw a lot of issues here with conflicting Host Only networks.

C:Program FilesOracleVirtualBox>VBoxManage.exe list hostonlyifs

C:Program FilesOracleVirtualBox>

  1. Create default docker machie

Here is debug output from create command (truncated):
https://dl.dropboxusercontent.com/u/46978778/docker_logs/create_machine_out.txt

Here is VirtualBox logs:
https://dl.dropboxusercontent.com/u/46978778/docker_logs/VBox.log
https://dl.dropboxusercontent.com/u/46978778/docker_logs/VBoxHardening.log

Here is output from VBoxManage.exe list hostonlyifs
C:Program FilesOracleVirtualBox>VBoxManage.exe list hostonlyifs
Name: VirtualBox Host-Only Ethernet Adapter
GUID: 0402d8c6-67c1-4ade-8fd8-272662b86530
DHCP: Disabled
IPAddress: 192.168.99.1
NetworkMask: 255.255.255.0
IPV6Address: fe80:0000:0000:0000:3c65:c6cf:79dd:8a5f
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 0a:00:27:00:00:02
MediumType: Ethernet
Status: Up
VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter

  1. After this I get "Could not find matching IP for MAC" error with any docker-machine action. For example:
    $ docker-machine ls
    NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
    default * virtualbox Running Unknown Could not find
    matching IP for MAC address 080027e9d20e

$ docker-machine env default
Error checking TLS connection: Could not find matching IP for MAC address 080027
e9d20e

  1. But I can see created virtual machine in VirtualBox interface and it looks perfectly OK!

2016-04-26 09_54_52-new issue docker_machine

Most helpful comment

I'm experiencing this in 1.11.1b on win7!

All 6 comments

I'm experiencing this in 1.11.1b on win7!

Same here, 1.12.3 client on Windows 10. Was working a while back, just started Docker Quickstart Terminal and now I've got this error

^Same

SOLUTION
Using Doicker Kitematic Tool, it just recreated Docker "Default VM" and now it's up & running.
Regards.

I found this solution https://stackoverflow.com/a/36787274/298552. Basically, you set it up so docker host gets static pre-defined IP, instead of getting a dynamic IP from DHCP server.

Thanks @nba1992, your solution worked perfectly for me!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

huseyinbabal picture huseyinbabal  路  4Comments

AlexZeitler picture AlexZeitler  路  4Comments

diver-sity picture diver-sity  路  4Comments

jrz picture jrz  路  5Comments

pschultz picture pschultz  路  3Comments