Featuring:
- Docker v1.10.3
- Docker Compose v1.6.2
- Docker Machine v0.6.0
- Python 3.5
Blog post -> https://realpython.com/blog/python/django-development-with-docker-compose-and-machine/
- Start new machine -
docker-machine create -d virtualbox dev;
- Configure your shell to use the new machine environment -
eval $(docker-machine env dev)
- Build images -
docker-compose build
- Start services -
docker-compose up -d
- Create migrations -
docker-compose run web /usr/local/bin/python manage.py migrate
- Grab IP -
docker-machine ip dev
- and view in your browser