machine icon indicating copy to clipboard operation
machine copied to clipboard

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

Open VadimMalykh opened this issue 8 years ago • 7 comments

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 Files\Oracle\VirtualBox>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 Files\Oracle\VirtualBox>VBoxManage.exe list hostonlyifs

C:\Program Files\Oracle\VirtualBox>

  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 Files\Oracle\VirtualBox>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

VadimMalykh avatar Apr 25 '16 23:04 VadimMalykh

I'm experiencing this in 1.11.1b on win7!

theandrewlane avatar May 11 '16 20:05 theandrewlane

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

kevinhooke avatar Apr 10 '17 18:04 kevinhooke

^Same

Gundars avatar Aug 10 '17 11:08 Gundars

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

nba1992 avatar Sep 24 '17 19:09 nba1992

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.

wentwog avatar Sep 25 '17 11:09 wentwog

Thanks @nba1992, your solution worked perfectly for me!

ariari90 avatar Oct 03 '20 09:10 ariari90

I was also getting the same error - image

I have changed network adapter from NAT to bridged and the problem was resolved.

image

srvasireddy avatar May 07 '21 08:05 srvasireddy