1. 添加EPEL源
yum install -y epel-release
2. 安装python-pip
yum install -y python-pip
3. 安装docker-compose
pip install docker-compose
4.验证是否安装成功
docker-compose -version
1. 添加EPEL源
yum install -y epel-release
2. 安装python-pip
yum install -y python-pip
3. 安装docker-compose
pip install docker-compose
4.验证是否安装成功
docker-compose -version
本文标题:centos安装docker-compose
本文链接:https://www.haomeiwen.com/subject/cvlmyctx.html
网友评论