docker-compose 下载

#安装docker-compose 
文件名
docker-compose-Linux-x86_64
sudo curl -L "https://github.com/docker/compose/releases/download/v2.27.3/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo curl -L "https://github.com/docker/compose/releases/download/v2.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo curl -L "https://github.com/docker/compose/releases/download/v2.29.7/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose



#国内加速
sudo curl -L "https://get.daocloud.io/docker/compose/releases/download/v2.24.7/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose


下载太慢直接下载文件
mv docker-compose-linux-x86_64 /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
  • 最新版 v2.27.3

https://github.com/docker/compose/releases/download/v2.24.7/docker-compose-linux-x86_64
https://github.com/docker/compose/releases/download/v2.27.3/docker-compose-linux-x86_64

ARM版下载

https://github.com/docker/compose/releases/download/v2.24.7/docker-compose-linux-armv6