I am running Boot2Docker on Mac OS X 10.9.5 and I’ve found the Boot2Docker documentation severely lacking; there isn’t even a manpage! My unanswered questions about Boot2Docker (for now) are:
-
What exactly is the difference between
init
andstart
? Why do we need both? -
What happens if I run
init
orstart
twice? What happens if I runstart
without first runninginit
? -
I appear that all of my Docker images are stored in the VM rather than on my system directly. Do I have to do anything special to ensure this data persists across reboots (of both the VM and my machine)?
-
What’s the preferred way to shut down the VM when I’m preparing to shut down my computer? If I forget to shut down the VM before shutting down my computer, will Bad Things™ happen? What if I perform an emergency restart of my computer? Will I need to perform some sort of cleanup afterwards to restore the VM and/or the downloaded images to a workable state?