Setting up a new django project with Docker and getting gunicorn error “No module named…”

Just putting this here. I don’t understand docker fully yet. I have just managed to get it working for the first time. The solution I found for the “No module named…” error was to run the following command:

docker run -p 5000:5000 registry:latest