Linux安装docker-compose
注意:docker版本和docker-compose版本要尽量一致(否则可能会出现问题)
docker版本18.06.0+ 用docker-compose版本3.7
1, curl -L https://github.com/docker/compose/releases/download/1.8.0/run.sh > /usr/local/bin/docker-compose
2,chmod +x /usr/local/bin/docker-compose
3,docker-compose --version