Summary
In this chapter, we were introduced to Docker Compose and some of its most notable features. We installed Compose on different operating systems and identified the differences between installations. Then, we identified the different Compose versions, Docker-Compose V1 and Docker Compose V2, along with the version to be used throughout this book. By checking on the Compose source code, we went a step further regarding how Compose works and interacts with the Docker CLI. Then, we ran a Docker application using the docker-cli
command and created the equivalent of it on Compose. The next step was to customize the image we used in our first example and deploy it using Compose.
In the next chapter, we shall create an application that will run and interact with a Redis database using Compose.