liveBook · Manning

Container image

As explained in Google Anthos in Action

A Docker image is an immutable package containing a filesystem and metadata used to create Docker containers.

A container image packages an application, its user-mode system, and runtime metadata into an artifact used to deploy containers. Images can be stored in registries and deployed across Kubernetes-conformant environments. section 15.3.2 section 13.5.2

Operationally, a container image supports several responsibilities:

  • Carry application files, user services, and required persistent-volume definitions produced during VM migration. section 15.3.2
  • Separate reusable layers, such as a migration runtime and a captured system-image layer, so updates can be maintained incrementally. section 15.6
  • Move through a build-and-deploy workflow: build or pull the image, apply the target registry tag, push it, and deploy it. section 13.5.2 section 15.4.4
  • Support postmigration operations including software updates, configuration changes, security patches, and rolling application updates. section 15.6

Tag and publish an image

Pull CentOS 8, tag it for Artifact Registry using the required location, project, repository, and image naming convention, then push the tagged image. section 13.5.2

docker tag centos:8 us-east4-docker.pkg.dev/test1-236415/docker-registry/centos:8

Inspect the concrete registry naming pattern used when tagging an image for Google Cloud. section 13.5.2

How Google Anthos in Action covers it

How deep it goes
Explains image layers, registry workflows, Windows builds, and CI/CD updates without detailing container runtime internals.
Examples
Uses CentOS registry commands, generated Linux artifacts, and Windows PowerShell builds targeting GKE.
What it assumes
Assumes familiarity with Docker commands, registries, Kubernetes deployment, and cloud migration workflows.
What you can do after
Operate/configure images by tagging, publishing, rebuilding, updating, and deploying them through registry and CI/CD workflows.
How it connects
Connects container images with Dockerfiles, container registries, Kubernetes, persistent volumes, VM migration, and CI/CD pipelines.

Also explained in

Compare how 25 books explain container image →

Related concepts

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