1、下载二进制文件:
curl -L https://github.com/docker/compose/releases/download/v2.17.1/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
2、 授权执行权限:
chmod +x /usr/local/bin/docker-compose
3、查看版本:
docker-compose --version
4、使用案例:
标签:bin,教程,compose,usr,docker,local From: https://www.cnblogs.com/zbhlinux/p/17337699.html