centos安装docker-compose
Cnetos安装docker-compose
分别执行以下命令
curl -L "https://github.com/docker/compose/releases/download/$(curl https://github.com/docker/compose/releases | grep -m1 '<a href="/docker/compose/releases/download/' | grep -o 'v[0-9:].[0-9].[0-9]')/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose //授权 chmod +x /usr/local/bin/docker-compose //检查版本 docker-compose --version