Docker Compose-Orchestration

Hello Readers!!! Welcome to my Blog!!
In this blog I’m going to talk about an interesting topic of Docker i.e., Docker-Compose. We all know that Docker transforms distributed applications into individual containers that are linked together. Instead of having to build, run and manage each individual container, Docker Compose allows to define multi-container application with all of its dependencies in a single file and then spin the application up in a single command.

Docker is certainly the most influential open source project of the moment. Docker’s outstanding innovations are the introduction of a standard format for various applications. Instead of using VMs to run apps, Linux containers are used in Docker.

As the need for greater agility and portability drives the growth of containerization within enterprises world-wide, container orchestration tools have become increasingly important. With multiple nodes running multiple containers, enterprises now need a way to manage and deploy containers at scale. This is where orchestration is valuable. Orchestration is the ability to manage and automatically schedule container deployments onto nodes. Docker Compose, a powerful tool for deploying multi-container applications help to make orchestration seriously easy for users.



Docker Compose make it extremely easy for developers to deploy multi-container applications anywhere. Below are some of the key features.

Completely Self-Contained
Docker Compose defines entire application with all of its dependencies. It’s flexible file format provides stable support for networking, also define networks and volumes, specify images name for services that are built, and allows to use pre-built images on Docker Hub.
Easily Collaborate
Docker Compose applications are easily shared with other teams. Just run “docker-compose up” and the application is up and running.
Portability Across Environments
Define the application with Docker Compose once and use that same configuration to run the application on other developer machines or in test and continuous integration environments.

Steps for Installation

Installation of Docker Compose is quick and can be easily done in the following steps on Ubuntu.
1) Install Docker Engine version 1.7.1 or greater:
2) Go to the Compose repository release page on GitHub.
3) Follow the instructions from the release page and run the curl command, which the release page specifies, in your terminal.
The following is an example command illustrating the format:

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

4) Apply executable permissions to the binary:

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

5) Test the installation.

$ Docker-compose –version

Getting Started

Using Compose is basically a three-step process.

1. Define application’s environment with a Docker file so it can be reproduced anywhere.
2. Define the services that make up the app in docker-compose.yml so they can be run together in an isolated environment.
3. Lastly, run docker-compose up and Compose will start and run the entire app.


Compose is great for development, testing, and staging environments, as well as CI workflows. Using a Compose file it is easy to configure the application’s services. Then, with a single command, it will create and start all the services from the configuration.

Thank you for reading my blog
Keep reading!!!



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s