Containerization
Containerization is a method of running applications in isolated environments called containers, where each container has everything it needs to run, making it easy to deploy and manage across different computing environments.
Figure 11.1: Containers are like boxes for your code and dependencies.
Containers allow developers to create an application and bundle it with all of its dependencies and libraries, so it can be easily moved between different computing environments without any compatibility issues. Each container includes everything an application needs to run, including the following:
- Application code
- Libraries
- Runtime
- System tools
- System libraries
The following are some advantages of containers:
- A container can be installed in any other system without worrying about the previously mentioned dependencies.
- Each container runs as an independent unit, with its own file system, networking,...