Linux安装Docker-compose

从github上下载docker-compose二进制文件安装

sudo curl -L https://get.daocloud.io/docker/compose/releases/download/1.25.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose

添加可执行权限

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

测试安装结果

docker-compose --version
posted @ 2023-02-20 18:48  许孟  阅读(75)  评论(0编辑  收藏  举报