Featuring:
- Docker v1.9.1
- Docker Compose v1.5.2
- Docker Machine v0.5.4
- 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;
- 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