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 ...

Get Mastering Spring Boot 2.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.