If you are running Docker on OS X or Windows, docker-compose should be included in your Docker for Windows or Docker Toolbox installation.
On Linux you can get the latest binaries straight from the GitHub release page: https://github.com/docker/compose/releases
You can install the specific release with the following commands:
curl -L https://github.com/docker/compose/releases/download/1.7.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
For more info please refer to documentation page