I\'m following the fig guide to using docker with a python application, but when docker gets up to the command
RUN pip install -r requirements.txt
I had same problem.The cause of error is proxy.
So, I edit Dockerfile following
RUN pip install -r /app/requirements.txt --proxy=http://user:pass@addr:port