Introduction to containers
In this section, we will introduce the concept of containers and look at their relationship with virtual machines (VMs).
As a concept, containers enable standardized and isolated deployable compute resource units that are lightweight and portable.
Containers are built around encapsulation, which involves packaging the code of an application and its dependencies so that it can be deployed into development or production environments seamlessly with repeatable, predictable, and consistent results.
The benefit and value of containers are that they are self-contained computing units that are portable and lightweight.
In the next section, we will look at the relationship between containers and VMs.
Comparing containers and VMs
To understand the containers model, we will briefly look at it alongside virtualization (VMs).
Like a VM, a container is a compute resource unit; they have the same aim, which is to host and execute code. However, VMs...