This will download the latest boot2docker image (see FROM boot2docker/boot2docker)
and adds VirtualBox Guest Additions for your running VirtualBox version.
See also boot2docker/boot2docker#284.
chmod +x build_docker.sh
./build_docker.sh
docker build -t mattes/boot2docker-vbga .
docker run -i -t --rm mattes/boot2docker-vbga > boot2docker.iso
# use the new boot2docker.iso
boot2docker stop
mv ~/.boot2docker/boot2docker.iso ~/.boot2docker/boot2docker.iso.backup
mv boot2docker.iso ~/.boot2docker/boot2docker.iso
boot2docker up
Reference: https://medium.com/boot2docker-lightweight-linux-for-docker/boot2docker-together-with-virtualbox-guest-additions-da1e3ab2465c