Module 1 › Containerization › Flashcards
Flashcards · optional
Flashcards: Containerization
0/15 known
5. ContainerizationContainer
Click or press Space to flip ContainerAn isolated process (or group of processes) sharing the host kernel, isolated by namespaces and limited by cgroups.
Card 1 of 15
- Container
- An isolated process (or group of processes) sharing the host kernel, isolated by namespaces and limited by cgroups.
- Namespace (Linux)
- Kernel feature that gives a process its own view of a resource: PID, network, mount, UTS, IPC, user.
- cgroups
- Control groups: kernel feature that limits and accounts CPU, memory, I/O and PIDs for groups of processes.
- Container image
- Read-only template made of filesystem layers plus a config, described by a manifest.
- Layer
- Content-addressed filesystem diff in an image; shared between images and cached on nodes.
- Multi-stage build
- Dockerfile with several FROM stages, so only the final artifact is copied into a small runtime image.
- Distroless image
- Minimal base image without shell or package manager, containing only the app and its runtime dependencies.
- Image digest
- Immutable sha256 hash identifying exact image content, written as @sha256:….
- imagePullPolicy
- Container field (Always, IfNotPresent, Never) that tells the kubelet when to pull the image.
- OCI
- Open Container Initiative: Linux Foundation project defining the image, runtime and distribution specifications.
- CRI
- Container Runtime Interface: gRPC API the kubelet uses to talk to container runtimes such as containerd and CRI-O.
- runc
- Reference low-level OCI runtime that creates namespaces and cgroups and starts the container process.
- containerd
- CNCF graduated high-level container runtime that implements CRI and manages images and container lifecycle.
- RuntimeClass
- Cluster-scoped object mapping a name to a runtime handler; Pods select it with runtimeClassName.
- dockershim
- Adapter in the kubelet that let Kubernetes use Docker Engine; removed in Kubernetes 1.24.