1.下载最新版本 docker-compose
https://github.com/docker/compose/releases
wget https://github.com/docker/compose/releases/download/v2.18.1/docker-compose-linux-x86_64 -O /usr/bin/docker-compose
2.添加可执行权限
chmod +x /usr/bin/docker-compose
1.下载最新版本 docker-compose
https://github.com/docker/compose/releases
wget https://github.com/docker/compose/releases/download/v2.18.1/docker-compose-linux-x86_64 -O /usr/bin/docker-compose
2.添加可执行权限
chmod +x /usr/bin/docker-compose