Docker Compose 101

Configure and docker compose in 5 minutes for docker images

Introduction

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.

Whenever one has to run more than a container and have them to communicate with another, Docker Compose comes to the rescue.

The core of docker compose can be understood with the below example.