生成dockerfile镜像的时候,获取supervisor报错以下信息:
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._quests.tion.VerifiedHTTPSConnection object at 0x2e9fe10>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/supervisor/
经过检查,发现centos7的桌面版系统,没有安装pip。安装pip即可
使用以下命令安装pip
# yum -y install epel-release
Loaded plugins: fastestmirror, langpacks
base | 3.6 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
updates/7/x86_64/primary_db | 6.0 MB 00:22
Loading mirror speeds from cached hostfile
* base: mirrors.163
* extras: centos.ustc.edu
* updates: centos.ustc.edu
Resolving Dependencies
--> Running transaction check
---> arch 0:7-9 will be installed
--> Finished Dependency ResolutionDependencies Resolved================================================================================Package Arch Version Repository Size
================================================================================
Installing:
epel-release noarch 7-9 extras 14 kTransaction Summary
================================================================================
Install 1 PackageTotal download size: 14 k
Installed size: 24 k
Downloading packages:
arch.rpm | 14 kB 00:02
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : arch 1/1
Verifying : arch 1/1 Installed:
arch 0:7-9 Complete!
[root@localhost centos7]# yum install python-pip
Loaded plugins: fastestmirror, langpacks
epel/x86_64/metalink | 7.2 kB 00:00
epel | 4.7 kB 00:00
(1/3): epel/x86_64/group_gz | 266 kB 00:02
(2/
本文发布于:2024-02-04 15:18:26,感谢您对本站的认可!
本文链接:https://www.4u4v.net/it/170710367656645.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |