我遵循的 码头教程和我的部分,我必须建立的应用程序使用:
docker build -t friendlyhello .
到了第4步,在暂停之后我得到了这个错误:
Step 4/7 : RUN pip install -r requirements.txt
---> Running in 7f4635a7510a
Collecting Flask (from -r requirements.txt (line 1))
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after
connection broken by
'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection
object at 0x7fe3984d9b10>: Failed to establish a new connection:
[Errno -3] Temporary failure in name resolution',)': /simple/flask/
我不太确定这个错误意味着什么,也不知道如何去解决它。
谢谢你的帮助!