Securing containers
Containers share some of the same characteristics as VMs but with a much smaller footprint. Instead of having to deploy an application above an entire operating system, you could use containers to deploy your required application, with only the minimum required operating system libraries and binaries.
Containers have the following benefits over VMs:
- Small footprint: Only required libraries and binaries are stored inside a container
- Portability: You can develop an application inside a container on your laptop and run it on a large scale in a production environment with hundreds or thousands of container instances
- Deploy time: Fast deployment and updates compared to VMs
The following diagram presents the architectural differences between VMs and containers:

Figure 3.1 – VMs versus containers
If you are still in the development phase, you can install a container engine on your laptop and create a new container...