需要从github上下载docker-compose二进制文件安装:

(1)请下载最新版的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

(2)添加可执行权限 
$ sudo chmod a+x /usr/local/bin/docker-compose

(3)测试安装结果 
$ docker-compose --version 
docker-compose version 1.23.2, build 1110ad01

搞定!

参考:

Install Docker Compose-官网安装