赞
踩
简单记录一下:在linux上安装docker-compose
背景
1.centos版本为
[root@bogon ~]# cat /etc/redhat-release
CentOS Linux release 7.7.1908 (Core)
2.安装的docker-compose的版本为官网上的最新版
https://docs.docker.com/compose/install/
sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
[root@bogon ~]# docker-compose -version
docker-compose version 1.24.1, build 4667896b
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。