Today I upgraded one of my old macs with an SSD.The SSD is freaking fast.But since the SSD was less than half the size of the existing HDD, I thought it would be good idea to move the docker host machine to the HDD instead of the SSD
Doing this was pretty simple.
First make sure the virtual machine was switched off.Then click on setting and then on the storage button which is the 3rd from the left.
Select the disk.vmdk and click on the floppy icon with the minus button.For those who dont know what a floppy is click here.Then click ok to save it.
Next open the following path in finder. ~/.docker/machine/machines/default
Next copy the disk.vmdk drive to the HDD.
Once it is copied you can delete it from this folder.
Now we need to connect the Virtual drive back to the virtual machine.
Then click on File and select Virtual Media Manager.
Then click on the remove button from the virtual drive.If you dont follow this setup virtualbox will not allow you to connect the drive to the virtual machine.
Now you are ready to connect the virtual drive to the virtual machine.Click on the setting button for the virtual machine.Select storage and click on the plus hdd button and select the virtual drive.
Now the kitematic will use the same virtual machine and it will not notice a difference.