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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.