Centos8安装docker-compose

一.首先检查是否有pip

执行命令:piv -V

Centos8安装docker-compose

 二.更新pip

执行命令:pip install --upgrade pip

Centos8安装docker-compose

三.下载  setuptools

执行命令 :pip install --upgrade setuptools

Centos8安装docker-compose

 四.安装gcc

执行命令:yum install gcc libffi-devel python-devel openssl-devel

Centos8安装docker-compose

 五.安装docker-compose

执行命令:pip install docker-compose

Centos8安装docker-compose