Difficulty: Intermediate
Estimated Time: 60 minutes

Understand How Docker Compose Works in 20 Minutes

Learn how to use Docker to integrate multiple container with Docker Compose and run it as a Docker instance.

In 20 miniutes, you'll use Docker to build docker-compose.yaml file, run, monitor, and destroy a set of multiple contianer.

Let's get started!


You've learned Basic Docker by completing the following steps:

  • Let's see the structure of Docker Compose
  • Run Docker Compose
  • Run Docker Compose in daemon mode
  • Destroy Docker Compose

If you would like to dive in deeper please take a look at the Docker documentation at link.

Continue your education by reading more about Kubernetes at KubeOps Skills Page

Docker Compose

Step 1 of 4

Let's see the structure of Docker Compose

List current file with ls command

ls | grep docker-compose.yaml

Let's see the structure of docker-compose.yaml file

cat docker-compose.yaml


depends_on is express dependency between services