# Use an official Python runtime as a parent image The command '/bin/sh -c pip install -trusted-host -r requirements.txt' returned a non-zero code: 1 No matching distribution found for Flask (from -r requirements.txt (line 1)) Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError(': Failed to establish a new connection: Temporary failure in name resolution',))': /simple/flask/Ĭould not find a version that satisfies the requirement Flask (from -r requirements.txt (line 1)) (from versions: ) Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError(': Failed to establish a new connection: Temporary failure in name resolution',))': /simple/flask/ Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError(': Failed to establish a new connection: Temporary failure in name resolution',))': /simple/flask/ Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError(': Failed to establish a new connection: Temporary failure in name resolution',))': /simple/flask/ Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError(': Failed to establish a new connection: Temporary failure in name resolution',))': /simple/flask/ Step 6/9 : RUN pip install -trusted-host -r requirements.txt Sending build context to Docker daemon 5.12kB Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslogĬontainerd version: 89623f28b87a6004d4b785663257362d1658a729 Network: bridge host macvlan null overlay (FYI: This is running as a VM in Virtualbox (5.2.8 r121009 Qt5.6.2). The proposed solution does not work for my system: I’m behind proxy and I have configured proxy according to this Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by ‘ConnectTimeoutError(, ‘Connection to timed out. Step 4/7 : RUN pip install -r requirements.txtĬollecting Flask (from -r requirements.txt (line 1)) Sending build context to Docker daemon 4.608kB When I try to builf the python image i get docker build -t friendlyhello. successfully run the “docker run hello-world” and “ubuntu bash”. I have setup docker on my fresh ubuntu 16.04.02 setup.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |