Centos7 安装docker-compose

1、docker-compose的官方下载网站(https://github.com/docker/compose/releases

 

2、运行此命令以下载 Docker Compose 的当前稳定版本

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

3、授权

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

 

posted @ 2023-04-18 00:58  苦逼yw  阅读(117)  评论(0编辑  收藏  举报