官网地址:https://docs.docker.com/compose/install/
1、 sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
2、 sudo chmod +x /usr/local/bin/docker-compose
3、sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
4、 docker-compose --version