-
Notifications
You must be signed in to change notification settings - Fork 59
Description
In the section "Taking Advantage of existing images" (Page 88), the build stops in 3rd layer with the error message:
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7efbf75dfb00>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/flask
P.S. It turns out to be the issue of how docker handles pip install command. And solution is to edit docker config with appropriate DNS. But my version of docker already has the DNS configured. But still it is not working.
P.P.S Turns out it has something to do with the country I am in. I used a vpn bypass and now its working :).