I have been working on a spree application that I have "dockerised" and occasionally I would return to boot2docker and find an error starting up.
What this had meant was having to destroy the VM and then rebuilding all my containers. This was annoying an not very feasible as the process for rebuilding containers required the download of a large dataset which was taking up to 20 minutes.
I stumbled on to this solution from stackoverflow that solved my problem and I thought I would share as for some reason it isn't marked as the correct answer.
- Boot the VM using Virtual box instead of b2d
Wait a minute for it to boot up.
- Then shut it down gracefully:
This means I dont loose my containers and need to wait 20 minutes for everything to rebuild.