问题:
-bash: docker-compose: 未找到命令
解决:
1. cd /usr/local/bin #切换到安装路径
2. wget https://github.com/docker/compose/releases/download/1.14.0-rc2/docker-compose-Linux-x86_64 # 下载安装源
3. rename docker-compose-Linux-x86_64 docker-compose docker-compose-Linux-x86_64 # 重命名安装下载的安装包
4. chmod +x /usr/local/bin/docker-compose
5. docker-compose version # 查看是否安装成功
安装成功效果图