docker-machine-vmwareworkstation icon indicating copy to clipboard operation
docker-machine-vmwareworkstation copied to clipboard

Network adaptor not found: B2D 18.09 , Vmware W. Pro 15

Open MartinSGill opened this issue 5 years ago • 5 comments

Docker Machine Version: 0.14.0, build 89b8332 Boot2Docker: v18.09.0 VMWare: Workstation Pro 15 vmrun version 1.17.0 build-10737736

Steps to Reproduce:

docker-machine -D create --driver=vmwareworkstation vmware

Issue:

Timeout waiting for IP address

(vmware) DBG | MAC address in VMX: 00:0c:29:53:00:37
(vmware) DBG | Not there yet 58/60, error: IP not found for MAC 00:0c:29:53:00:37 in DHCP leases
(vmware) DBG | MAC address in VMX: 00:0c:29:53:00:37
(vmware) DBG | Not there yet 59/60, error: IP not found for MAC 00:0c:29:53:00:37 in DHCP leases

Root Cause:

NIC is missing:

image

Notes

Editing the generated VMX file and setting

ethernet0.virtualDev = "e1000"

Allows the machine to start and detect the network card.

MartinSGill avatar Nov 11 '18 15:11 MartinSGill

Seems related to https://github.com/boot2docker/boot2docker/issues/1345 I can see the same problem with docker-machine vmwarefusion driver.

StefanScherer avatar Nov 11 '18 16:11 StefanScherer

I can confirm this. Broke a leg trying to figure out why docker-machine stopped working. Booted boot2docker.iso in a newly created vm in vmware workstation pro 15, and it worked fine.

VMware itself defaults the nic for Linux-Based VMs in VMware is always to e1000. Should we update docker-machine-vmwareworkstation to e1000?

tekook avatar Dec 02 '18 14:12 tekook

@tekook Can you help me compile your fork? I can't work with the go environment. and I've been trying for 2 days.... my email [email protected] thanks

flykarry avatar Dec 12 '18 08:12 flykarry

@tekook Can you help me compile your fork? I can't work with the go environment. and I've been trying for 2 days.... my email [email protected] thanks

Compile the images, but did not seem to help.

Currently trying the new beta of boot2docker, see: https://github.com/boot2docker/boot2docker/issues/1340#issuecomment-444273243

tekook avatar Dec 14 '18 17:12 tekook

Ill update this to e1000, probably a change in updates VMWares

pecigonzalo avatar Mar 25 '20 17:03 pecigonzalo