4 Welcome to Docker

This chapter covers

  • Understanding the importance of containers
  • Recognizing how containers fit into a microservices architecture
  • Understanding the differences between a VM and a container
  • Using Docker and its main components
  • Integrating Docker with microservices

To continue successfully building our microservices, we need to address the portability issue: how are we going to execute our microservices in different technology locations? Portability is the ability to use or move software to different environments.

In recent years, the concept of containers has gained more and more popularity, going from a “nice-to-have” to a “must-have” in software architecture. The use of containers is an agile and useful way to migrate and ...

Get Spring Microservices in Action, Second Edition 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.