pecigonzalo / docker-machine-vmwareworkstation

VMWare Workstation driver for Docker Machine https://github.com/docker/machine
Apache License 2.0
363 stars 67 forks source link

Machine name issue (boot2docker vs default) #63

Closed jan-gersl closed 4 years ago

jan-gersl commented 6 years ago

Thanks for this piece of software, it helped us a lot. I'm chasing an intermittent situation that might originate in this driver.

THE ENVIRONMENT

THE PROBLEM

THE QUESTIONS Now how did that happen? The start.sh uses $VM variable for setting the machine name. The variable is populated on this line: VM=${DOCKER_MACHINE_NAME-default}, meaning it's either the existing machine name from $DOCKER_MACHINE_NAME or "default".

There are 2 theories:

  1. there is a bug in the stack somewhere that would fill the docker machine name variable with "boot2docker" string - either docker-machine or this driver or the .sh script
  2. the name of the virtual machine is "boot2docker" initially and it gets replaced only later by some script, meaning our issues are based on random timing of the 2 events (setting the name and getting the address from DHCP)

Any ideas??

pecigonzalo commented 4 years ago

Given the date of this and that it was on Windows 7, ill close this issue. Sorry for not replying before. If you see this issue again, please open a new one.