liveBook · Manning

Container registry

As explained in Kubernetes in Action, Second Edition

A container registry is a repository service that stores and distributes container images to authorized clients.

A container registry stores and shares container images. After building an image, you can push it to a registry and pull it onto another Docker-enabled computer. Public registries allow broad access; private registries require authentication. section 2.1.2

A registry connects the container image lifecycle:

  • Package the application and its dependencies into a container image. section 2.1.2
  • Push the image to a registry for storage and sharing. section 2.1.2
  • Pull the image onto another computer and use it to create a running container. section 2.1.2 section 2.4

Moving an application to another computer

A developer builds an image containing an application and its required environment, pushes it to a registry, then pulls it onto another Docker-enabled computer. The downloaded image provides the filesystem and metadata needed to run the application as a container. section 2.1.2

Figure 2.4 The three main Docker concepts are images, registries, and containers.
figure

Use the diagram to distinguish the three related roles: images package applications, registries distribute images, and containers run them. section 2.1.2

How Kubernetes in Action, Second Edition covers it

How deep it goes
Explains storage, public versus private access, pushing, pulling, and container creation without detailing registry internals.
Examples
Uses the build, push, pull, and run flow across two Docker-enabled computers.
What it assumes
Defines images and containers from the beginning while assuming only a Docker-enabled computer for the workflow.
What you can do after
Operate Docker image distribution by pushing images to a registry and pulling them to create containers.
How it connects
Connects container images, containers, Docker, and application distribution.

Also explained in

Compare how 8 books explain container registry →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Kubernetes in Action, Second Edition. The section links point to the parts of the book it draws on.