containerization

Packaging an application with everything it needs to run into a container image.

In more detail

The image holds the code, runtime and libraries, so the application runs the same way everywhere. Good containerization keeps images small and free of build tools.

Example

Naive containerization copies the whole repository and dev tools into a gigabyte-sized image; multi-stage builds cut it to the compiled output.

Related terms

Taught in

References