openskills.info
Course Preview

Container Images

Container images are read-only templates containing an application's filesystem, libraries, and configuration, layered and stored as distributable artifacts. Understanding how images are built, stored in registries, and layered is essential to efficient container workflows.

itVirtualization, containers, and orchestration

Container Images

A container image is a packaged filesystem plus instructions for starting a container. It gives you one named object to build, test, store, copy, and deploy.

The image is not the running application. It is the input that a container runtime uses to create a container. That distinction is the foundation for everything else in this course.

The problem an image solves

An application rarely consists of one executable. It may need a language runtime, shared libraries, certificates, configuration defaults, and static files. Installing those pieces by hand on every machine creates drift. Two machines can receive different versions or settings even when they are meant to run the same release.

An image packages the required files and runtime configuration together. You build it once, then move the same content through testing and deployment. The host still supplies a compatible kernel and container runtime. The image supplies the application environment above that kernel.

This gives you repeatable packaging, not universal portability. A Linux image does not include a Linux kernel. Its programs must match the operating system and processor architecture available at runtime.

Image, container, and registry

Keep three objects separate:

  1. An image is stored content and runtime configuration.
  2. A registry stores and distributes images.
  3. A container is a runtime instance created from an image.

The common flow is:

source + build instructions -> image -> registry -> runtime -> container

You can create many containers from one image. Each starts with the same image content. Runtime settings and writable state can differ between containers.

Continue the course

This section is part of the paid course.

See pricing to subscribe, or log in if you already have access.

Where this skill leads

Relevant careers

See how this topic contributes to broader role-level skill maps.

Sources