https://github.com/docker/compose/releases/download/v2.17.2/docker-compose-linux-x86_64
1.下载安装包
根据机器的架构选择具体的版本,更多的请参考官网 https://github.com/docker/compose/releases
架构
下载地址
X86
https://github.com/docker/compose/releases/download/v2.4.1/docker-compose-linux-x86_64
aarch64
https://github.com/docker/compose/releases/download/v2.4.1/docker-compose-linux-aarch64
armv7
https://github.com/docker/compose/releases/download/v2.4.1/docker-compose-linux-armv7
Linux可使用uname -a 命令查看机器架构
2. 安装docker-compose
前置要求:安装docker-compse前服务器上必须先安装好docker。
原有的版本卸载:yum remove docker-compose
①下载对应安装包并上传到服务器
②cp docker-compose-linux-x86_64 /usr/local/bin/docker-compose
③增加可执行权限:chmod +x /usr/local/bin/docker-compose
ln-s /usr/local/bin/docker-compose /usr/bin/docker-compose
④查看版本:docker-compose version
标签:github,releases,版本升级,compose,linux,docker,com From: https://www.cnblogs.com/walkersss/p/17317950.html