Logic error
Ignore failures on stop
Bash doesn't like $(<<EOF) [...] EOF
set -e is seemingly not function local
Fix boot2docker_init on linux
Remove stray ‘\n’s
Fix for locale environment variables