centos7.1中如何安装docker-compose

2023-04-09 11:21:00 docker centos7 安装

centos7.1中如何安装docker-compose

下载docker-compose

下载地址:https://github.com/docker/compose/releases

curl -L "https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

赋予执行权限

chmod +x /usr/local/bin/docker-compose

验证安装

docker-compose --version

相关文章