2.docker-compose安装

官方安装链接:https://docs.docker.com/compose/install/standalone/

1.下载

$ curl -SL https://github.com/docker/compose/releases/download/v2.18.1/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose

2.添加可执行权限

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

3.查看版本号

$ docker-compose --version

posted @ 2023-05-31 20:15  橘子__桔子  阅读(58)  评论(0编辑  收藏  举报