liveBook · Manning

Docker build

docker build is a Docker command that constructs a container image from a Dockerfile and its build context.

How 4 Manning books explain it

Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform

docker build is a Docker CLI command that constructs a Docker image from a build context and instructions.

How it is used
Packages a microservice as a Docker image before local execution, registry publication, or Kubernetes deployment.
How deep it goes
Explains command syntax, build context, tagging, cached layers, output, and deployment-oriented versioning without detailing Dockerfile instructions.
Examples
Uses Node.js video-streaming projects, Dockerfile-prod builds, image listings, and versioned registry-publishing commands.
What you can do after
Build it from scratch, inspect the resulting image, assign deployment versions, and prepare it for registry publication.

Read how Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform explains docker build →

Spring in Action, Sixth Edition

docker build is a Docker command that constructs a container image from a Dockerfile and its build context.

How it is used
Builds a deployable container image from a Spring Boot application's Dockerfile and executable JAR.
How deep it goes
Explains Dockerfile instructions line by line and demonstrates tagged builds, without detailing Docker image internals.
Examples
Uses an OpenJDK 11 Dockerfile, a target/*.jar artifact, and a tagged Taco Cloud image build.
What you can do after
Builds a tagged Docker image from a Spring Boot project's Dockerfile and build context.

Read how Spring in Action, Sixth Edition explains docker build →

Data Pipelines with Apache Airflow, Second Edition

docker build is a Docker CLI command that constructs an image from a Dockerfile and its build context.

How it is used
Builds container images that package task code and dependencies for execution with Docker or DockerOperator.
How deep it goes
Explains Dockerfile instructions, build context, tagging, build output, and runtime testing, but does not detail advanced build configuration.
Examples
Uses weather-fetching and MovieLens ratings images, with tagged builds and docker run help checks.
What you can do after
Build it from scratch by writing a Dockerfile, supplying a context, tagging the image, and testing its packaged command.

Read how Data Pipelines with Apache Airflow, Second Edition explains docker build →

Road to Kubernetes

docker build is a Docker command that constructs a container image from a Dockerfile and build context.

How it is used
Builds repeatable container images for running applications locally or preparing them for registry-based deployment.
How deep it goes
Explains Dockerfile-driven builds, runtime checks, registry tagging, and environment variants without detailing Docker’s internal build engine.
Examples
Demonstrates Node.js builds, runtime port and environment overrides, Docker Hub publishing, and development, staging, and production Dockerfiles.
What you can do after
Apply it via Docker to build tagged images, run them with configuration overrides, and prepare valid registry-bound artifacts.

Read how Road to Kubernetes explains docker build →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.