Docker - cllu/.rc GitHub Wiki

On OS X:

To setup:

$ brew install docker boot2docker, docker-compose
$ boot2docker init
$ boot2docker up
$ # necessary environment variables are already included in the .rc/shell/env-osx.sh file

Enable folder sharing, so we can mount volumes

$ boot2docker down
$ VBoxManage sharedfolder add boot2docker-vm -name src -hostpath /srv
$ boot2docker up

Then you can mount the folders like

$ docker run -v /Users/cllu/Projects/hyperlink/backend:/srv/hyperlink/backend app uwsgi /srv/hyperlink/backend/etc/uwsgi.ini