1.去github下载到本地
https://github.com/docker/compose/releases/
2.上传到linux 服务器
mv dokcer-compose-linux-x86_64 /usr/loacal/bin/docker-compose
3.给权限
chmod +x /usr/local/bin/docker-compose
4.查看是否安装成功
docker-compose -version
5.卸载
rm /usr/local/bin/docker-compose