docker / machine

Machine management for a container-centric world
https://docs.docker.com/machine/
Apache License 2.0
6.63k stars 1.96k forks source link

struck on - "Waiting for VM to come online..." #3826

Open PManager1 opened 7 years ago

PManager1 commented 7 years ago

Hi there, I'm struck on this message on my terminal.

2__docker-machine_create_--driver_vmwarefusion_--vmwarefusion-cpu-count__4________docker-machine__and_new_issue_ _docker_machine

chrismeyersfsu commented 7 years ago

same here. There doesn't seem to be a machine created in vmware fusion gui. Running vmwarefusion 8.5.1 docker-machine version 0.8.2, build e18a919

dhilowitz commented 7 years ago

I'm having the same issue with the same versions.

@chrismeyersfsu and @jpca999: Did you guys find some sort of workaround?

chrismeyersfsu commented 7 years ago

If I recall correctly, I had given it an invalid parameters, in my case it was --vmwarefusion-cpu-count "15". It failed silently. I think I figured it out by turning on a very verbose debug mode. Anyway, try invoking it with as few params as possible and then slowly add them in.

dhilowitz commented 7 years ago

Thanks @chrismeyersfsu! I finally figured my issue out. The first step was, as you mentioned, to put the -D debug flag after docker-machine but before create in the initial command.

It seems that the "Waiting for VM to come online" error message shows up for a variety of reasons. In my case, it was because of a conflict between VirtualBox and VMWare Fusion. The problem stopped the second I uninstalled VirtualBox.

sebas5384 commented 6 years ago

I had the same problem and the solution was simple, I had to allow the vmWare to run, go to System Preferences > Security.