Skip to content
masterclass Buddy

Docker · Command

docker buildx build

Starts a Docker image build with BuildKit. It accepts a build context and options for files, tags, arguments, platforms, cache, and output.

Last updated

Syntax

docker buildx build [OPTIONS] PATH | URL | -

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • docker buildx
  • docker buildx bake
  • docker buildx create
  • docker buildx inspect
  • docker buildx ls
  • docker buildx use
  • BuildKit

Source: docker buildx build. Checked 2026-11-03.