docker-compose的下載下傳安裝
安裝
前置依賴
yum -y install epel-release
安裝 pip3,python3 自帶 pip3
dnf install -y python3
配置 pip3 的國内 pip 源,編輯 ~/root~/.pip/pip.conf 檔案(如果不能存在請自行建立),配置内容如下:
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host=mirrors.aliyun.com
pip3 install docker-compose
附錄
國内的pip源,如下: