系统相关
首页 > 系统相关> > centos安装docker-compose

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

 

标签:compose,centos,releases,github,https,docker,com
来源: https://www.cnblogs.com/fanlin92/p/16126050.html