Skip to content
Go to file

Django Development With Docker Compose and Machine


  • Docker v18.09.2
  • Docker Compose v1.23.2
  • Docker Machine v0.16.1
  • Python 3.7.3

Blog post ->

OS X Instructions

  1. Start new machine - docker-machine create -d virtualbox dev;
  2. Configure your shell to use the new machine environment - eval $(docker-machine env dev)
  3. Build images - docker-compose build
  4. Start services - docker-compose up -d
  5. Create migrations - docker-compose run web /usr/local/bin/python migrate
  6. Grab IP - docker-machine ip dev - and view in your browser
You can’t perform that action at this time.