Containerization

Docker, Kubernetes

Definition
Make each application of the solution run in its own isolated space, and declare its build structure.
Containerization

How does it work?

The build structure of the application is laid down in a configuration file. The container tool builds an image from this configuration. To run the application, the tool builds a container from the image.

It facilitates development by providing a complete pre-built environment for a new developer. It faciltates deployment by providing an image that can be used as-is on multiple servers.

Examples

  • Docker, Docker Compose, Docker Swarm
  • Kubernetes

When should you use it?

  • When building your application requires an effort
  • When deploying the application on a containerized platform

Links