一、安装docker(更换yum镜像源为华为)
二、安装docker-compose
-
安装epel源
yum install -y epel-release
-
安装docker-compose
yum install -y docker-compose
-
检查版本
docker-compose -version
yum install -y epel-release
yum install -y docker-compose
docker-compose -version