下载命令
sudo curl -L https://get.daocloud.io/docker/compose/releases/download/v2.2.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
对命令进行一个授权
sudo chmod +x /usr/local/bin/docker-compose
查看compose版本命令
docker-compose --version
卸载
sudo rm /usr/local/bin/docker-compose