安装 docker-compose
- install dependent python
$ yum install python-virtualenv
$ virtualenv -p /usr/bin/python2.7 --no-site-packages ~/pyenv/docker_py27/
- install docker compose
$ source ~/pyenv/docker_py27/bin/activate
$ pip install -U pip
$ pip install -U docker-compose #Note: pip version 6.0 or greater is required