liveBook · Manning

Base image

As explained in .NET in Action, Second Edition

A base image is an existing container image from which another image is constructed.

A base image is an existing container image used as the starting point for a new image. Docker selects it with the Dockerfile’s required FROM instruction, then saves modifications as a new immutable image. section 13.3.1

Use a base image to establish the image contents and build workflow:

  • Expect the first build to retrieve base images; later builds can reuse cached immutable images. section 13.3.1

How .NET in Action, Second Edition covers it

How deep it goes
Defines FROM, immutability, caching, and multi-stage selection, but does not detail image internals beyond Dockerfile layers.
Examples
Uses .NET SDK and ASP.NET images in Dockerfiles for building and running AsciiArtSvc.
What it assumes
Assumes Docker Desktop is installed and the docker command works, while introducing base-image selection through Dockerfile syntax.
What you can do after
Build a tagged Docker image by selecting a base image and adding application files and startup instructions.
How it connects
Connects Dockerfiles, container images, immutable images, Docker builds, and multi-stage builds.

Also explained in

Compare how 7 books explain base image →

Related concepts

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