1、安装docker-compose
下载docker-compose
wget https://github.com/docker/compose/releases/download/1.24.0/docker-compose-Linux-x86_64
移动文件
mv docker-compose-Linux-x86_64 /usr/local/bin/docker-compose
授权
chmod +x /usr/local/bin/docker-compose
创建软链
ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
查看版本
docker-compose --version