docker / machine

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

--virtualbox-import-boot2docker-vm could default to boot2docker-vm #1516

Open bfirsh opened 9 years ago

bfirsh commented 9 years ago

Could this:

$ docker-machine create -d virtualbox --virtualbox-import-boot2docker-vm boot2docker-vm dev

just be this?

$ docker-machine create -d virtualbox --virtualbox-import-boot2docker-vm dev
nathanleclaire commented 9 years ago

I don't think it's very common to have your boot2docker VM named anything else, so I was in favor of doing it this way (BoolFlag), but it is true that it could be named something else. Maybe we could default the flag to boot2docker-vm and check if is has changed to determine whether or not to proceed with a migration. cc @ehazlett