title: How to easily debug Redis and Django/Gunicorn when developing using Docker?
body: <p>I'm not referring to more sophisticated debugging techniques, but how to get access to the same kind of error messages that are normally directed to terminal tabs?
  Basically I'm adopting Docker in a Django project also using Redis.</p>
  <p>In the old way of working I opened a linux terminal tab for gunicorn like this: gunicorn --reload --bind 0.0.0.0:8001 myapp.wsgi:application</p>
  <p>And this tab kept running Gunicorn and any Python error was shown in this tab so I could see the problem and fix it.</p>
  <p>I could also open a second tab for the celery woker: celery -A myapp worker --pool=solo -l info</p>
  <p>The same thing happened, the tab was occupied by Celery and any Python error in a task was shown in the tab and I could see the problem and correct the code.</p>
  <p>My question is: Using docker is there a way to make each of the containers direct these same errors that would previously go to the screen, to go to log files so that I can debug my code when an error occurs in Python?</p>
  <p>What is the correct way to handle simple debugging during development using Docker containers?</p>