Containers

When we talk about containers, we are indirectly referring to two main concepts—a container image and a running container image.

A container image is the definition of the container, wherein all software stacks are installed as additional layers, as depicted by the following diagram:

 Layers of containers

A container image is typically made up of multiple layers.

The first layer is given by the base image, which provides the OS core functionalities, with all of the tools needed to get started. Teams often work by building their own layers on these base images. Users can also build on more advanced application images, which not only ...

Get Hands-On Cloud-Native Microservices with Jakarta EE 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.