Summary
As we have learned in this chapter, a container is isolated in nature and portable. You can run a container on any Docker platform. The container-based approach has been adopted by many enterprises and its popularity is increasing every day.
Container-based virtualization is a much better solution for the microservice architectural style, where application features are divided into small, well-defined, distinctive services. Containers and VMs are not independent of each other; they can be viewed as complementary solutions. An excellent example of this is the Netflix Cloud, where containers are running on virtual machines.
This concludes our tour of Docker Compose. With Docker Compose, you can pause your services, run a one-off command on a container, and even scale the number of containers.
In the next chapter, we will explore and implement a Swagger and KONG API manager.