下载docker-compose到目录/usr/local/bin/

curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose

赋权

chmod +x /usr/local/bin/docker-compose