0
所以,我想通过先拷贝安装文件通过错误安装PIP内泊坞集装箱
docker cp get-pip.py dock:get-pip.py
下载码头工人,容器内的点子,然后我进入容器
docker exec -it 58 bash
然后我试着到蟒蛇get-pip.py文件,我得到以下错误。
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/pip/
为什么不使用oficial python图像?如果你解释你想要做什么,也许我们可以帮助你。 – German
@German我正在使用的码头容器是我正在测试的数据库容器。当我尝试执行docker pull python时,出现错误:来自守护程序的错误响应:获取https://registry-1.docker.io/v2/:net/http:在等待连接时取消了请求(Client.Timeout超出了while等待标题) – 374
您是否尝试重新启动泊坞窗过程?因为我得到这个错误的唯一方法是当我没有互联网连接。 – German