安装docker-compose
#安装最新版本docker-compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.23.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
打开权限
sudo chmod +x /usr/local/bin/docker-compose
查看是否安装成功
docker-compose version