linux 安装 docker compose
安装 docker compose
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
# 可能还需要以下步骤 sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
安装完成后测试命令
[root@iZuf6ak07qo52itd5rssc1Z compose]$ docker-compose -v docker-compose version 1.24.1, build 4667896b