After trying to run bitcoind in a docker container on boot2docker and mounting my local ~/.bitcoin directory as a volume I discovered that the file system VirtualBox uses for mounting directories (vboxsf) doesn't support some operations that LevelDB needs in order to operate.
Unfortunately, at the time of this writing, boot2docker doesn't have an official way to switch from VirtualBox shared folders to nfs.
Which prompted me to write this short script that does exactly this:
Found a typo? Want to improve this post? Edit on GitHub.