Centos7 安装docker-compose
1、docker-compose的官方下载网站(https://github.com/docker/compose/releases)
2、运行此命令以下载 Docker Compose 的当前稳定版本
sudo curl -L "https://github.com/docker/compose/releases/download/v2.17.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
3、授权
chmod +x /usr/local/bin/docker-compose docker-compose --version docker-compose up