• Debugging
  • Docker Commands
  • Logging
  • To view all logs outputs from the project currently ( Good for debugging several containers ) use docker-compsoe logs -f. This will stream all logs from all active containers.
  • Other Commands
  • Local Testing
  • Python Commands
  • These commands are all run through the django container by having bash execute python. To get into the django container with a bash prompt use docker exec -it django bash.
  • Database
  • Sometimes it is necessary to destroy, and re-create the database. In those cases use the following commands from a bash terminal inside the database docker container. IE: docker exec -it postgres bash