I’m having some problems with starting docker on my Windows machine. First it’s downloading some files as usual and after that I’m receiving messages like.
WARNING: Retrying (Retry(total=4, connect=None, read=None,
redirect=None, status=None)) after connection broken by
‘NewConnectionError(’<pip._vendor.urllib3.connection.VerifiedHTTPSConnection
object at 0x7fb06baaa450>: Failed to establish a new connection:
[Errno -3] Try again’)': /simple/django/
This is how my dockerfile looks:
FROM python:3.7-alpine
MAINTAINER Rade Ilijev
ENV PYTHONUNBUFFERED 1
COPY ./requirements.txt /requirements.txt
RUN pip install -r /requirements.txt
RUN mkdir /app
WORKDIR /app
COPY ./app /app
RUN adduser -D user
USER user
and this is requirements.txt
Django>=2.2.5,<2.2.0
djangorestframework>=3.10.3, <3.10.0
Also in Docker Daemon I have changed:
{
“registry-mirrors”: [*],
“insecure-registries”: [*],
“debug”: true,
“experimental”: true
}
What am I doing wrong?