Я изучаю Docker, следуя этому уроку: https://docs.docker.com/get-started/part2/
Все кажется нормальным, но когда я запускаю docker build --tag = learnndocker. он начинает давать сбой в строке, котораяПредполагается установить зависимости.Вот ошибка:
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fb5eee1f1d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/click/
Could not find a version that satisfies the requirement Click==7.0 (from -r requirements.txt (line 1)) (from versions: )
No matching distribution found for Click==7.0 (from -r requirements.txt (line 1))
The command '/bin/sh -c pip install --trusted-host pypi.python.org -r requirements.txt' returned a non-zero code: 1
Вот мои требования. Текст:
Click==7.0
Flask==1.0.2
itsdangerous==1.1.0
Jinja2==2.10
MarkupSafe==1.1.1
pkg-resources==0.0.0
redis==3.2.0
Werkzeug==0.14.1