What is Docker Compose?

dockerDocker Compose allows you to deploy multi-container applications. This article describes how to install Docker Compose.

Latest version

To check the latest version of Docker Compose, browse to https://github.com/docker/compose/releases. At the time of writing this article, the latest version was 1.25.5. Please change this in the command below for a more recent version.


Install docker-compose

  1. Start by logging on to your Docker server.
  2. Run the following commands:
$ sudo curl -L https://github.com/docker/compose/releases/download/1.25.5/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
$ sudo chmod +x /usr/local/bin/docker-compose

To check your installation you can run the following command to check the version of docker-compose.

docker-compose --version


Thanks for visiting.