machine-drivers / docker-machine-driver-vmware

Docker machine driver for VMware Fusion and Workstation.
https://www.vmware.com/products/personal-desktop-virtualization.html
Apache License 2.0
184 stars 47 forks source link

Make ethernet0.virtualDev configurable #14

Closed MartinSGill closed 5 years ago

MartinSGill commented 6 years ago

When trying to use this driver with boot2docker.iso it fails because the network hardware emulator doesn't appear to be supported.

image

When trying to use packer instead to create the vm for me, I discovered that it only works if I set:

"ethernet0.virtualDev": "e1000"

I'm guessing the drivers needed for vmware are not included in boot2docker, or are out-of-date for Workstation 15 so vmxnet3 doesn't work.

I'm using VMWare Workstation Pro 15, Windows, boot2docker 18.09 and docker-machine 0.14.0, build 89b8332

MartinSGill commented 6 years ago

Or maybe this needs to be fixed in boot2docker? https://github.com/boot2docker/boot2docker/issues/1340

StefanScherer commented 6 years ago

It seems it needs to be fixed in boot2docker, I've commented in https://github.com/boot2docker/boot2docker/issues/1345

daniel-shimon commented 5 years ago

For me removing and then adding a new NAT adapter also works for some reason.. Does folder sharing work for you? (Is there any /Users folder?)

MartinSGill commented 5 years ago

The initial cause has been resolved with changes to boot2docker cf. https://github.com/boot2docker/boot2docker/pull/1350