如果提示docker-compose未找到命令,需要安装一下
curl -L https://github.com/docker/compose/releases/download/1.23.0-rc2/run.sh > /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是否安装成功
docker-compose --verison
安装图片如下