curl -L https://github.com/docker/compose/releases/download/1.20.1/docker-compose-
uname -s
-uname -m
-o /usr/local/bin/docker-compose
chmod 755 /usr/local/bin/docker-compose
cp /usr/local/bin/docker-compose /usr/bin
验证
docker-compose --version