my os x-friendly docker lamp, mysql, and apache-php images now support vagrant-based boot2docker boxes
2015-04-10
As of today, my three Docker images osx-docker-lamp, osx-docker-mysql, and osx-docker-apache-php support boot2docker run through Vagrant.
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 feedback. Feel free to contact me.