VMware Communities
rkevinburton
Contributor
Contributor

docker-machine driver

I issue the command docker-machine create --driver vmwarefusion myvm1 and I get output like:

. . . .

(myvm1) Waiting for VM to come online...

Error creating machine: Error in driver during machine creation: Machine didn't return an IP after 120 seconds, aborting

What do I need to do to use this driver?

Thank you.

0 Kudos
9 Replies
daphnissov
Immortal
Immortal

You need Fusion, boot2docker, and connectivity via a NAT port group to your VMware Fusion instance. Check and see if your VM comes up in Fusion when you open it after issuing the docker-machine create command.

0 Kudos
rkevinburton
Contributor
Contributor

As the snippet of code the I shared shows the VM gets to one point and "hangs". It never "runs".

0 Kudos
daphnissov
Immortal
Immortal

Open Fusion. Do you see a VM being created from the boot2docker image?

0 Kudos
rkevinburton
Contributor
Contributor

Thank you. I started it up

Screen Shot 2018-03-11 at 4.30.59 PM.png

and didn't see anything new while the create command was executing.

I also looked here and no indication that anything happened.

Screen Shot 2018-03-11 at 4.36.51 PM.png

0 Kudos
rkevinburton
Contributor
Contributor

Any update on this?

0 Kudos
daphnissov
Immortal
Immortal

What version of docker-machine, Docker for Mac, Fusion, and boot2docker?

0 Kudos
nancyz
VMware Employee
VMware Employee

Hi rkevinburton ,

Could you check the networking services are running on your Mac host by command 'ps aux|grep vmnet'?

0 Kudos
rkevinburton
Contributor
Contributor

Hello nancyz,

Thank you for your interest. This command returns a line containing com.docker.vmnetd

0 Kudos
protteveel
Contributor
Contributor

What does "connectivity via a NAT port group to your VMware Fusion instance" mean?

0 Kudos