1. 首先下载 docker-compose-linux-x86_64
链接https://github.com/docker/compose/releases
2. 上传 docker-compose-linux-x86_64到 /usr/bin目录
3. 重命名docker-compose-linux-x86_64为docker-compose
4. 权限775给docker-compose
chmod 775 /usr/bin/docker-compose
5./usr/bin目录下查询docker-compose版本
docker-compose version