my os x-friendly docker lamp, mysql, and apache-php images now support vagrant-based boot2docker boxes
In short, when running boot2docker through Vagrant, you should add the following three environment variables
VAGRANT_OSX_MODE="true"for enabling Vagrant-compatibility
DOCKER_USER_ID=$(id -u)for letting Vagrant use your host user ID for mounted folders
DOCKER_USER_GID=$(id -g)for letting Vagrant use your host user GID for mounted folders
Grab the images’ sources by following the project link, or run the images using the Docker Hub.
I do not use a commenting system anymore, but I would be glad to read your comments and feedback. Feel free to contact me.