Docker Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application’s services. Then, with a single command, you create and start all the services from your configuration.

In this guide, we will explain how to install Docker Compose on an Ubuntu 16.04/18.04 server.

Deploying your cloud server
If you have not already registered with Cloudwafer, you should begin by getting signed up. Take a moment to create an account after which you can easily deploy your own cloud servers.

Once you have signed up, log into your Cloudwafer Client Area and deploy your Cloudwafer cloud server.

Step 1: Download and Install Docker Compose
As at the time of writing this guide, the latest version available of Docker Compose is 1.24.0. To check for new version, visit the Docker Github releases page .

curl -L`uname -s`-`uname -m` -o /usr/local/bin/docker-compose


Step 2: Change Permissions
Change the permission to our docker compose directory- /usr/local/bin/docker-compose with the command below:

chmod +x /usr/local/bin/docker-compose


Step 3: Verify Installation
Verify the installation and view the Docker Compose version number by issuing the following command below:

docker-compose --version


To read more on Docker Compose, visit the Documentation Page