From 4f3d3f8b5cc97bf26736822da218189931949e60 Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Thu, 2 Apr 2026 07:47:55 +0200 Subject: [PATCH] docs: remove stale v23 framing from BuildKit overview (fixes #24606) The Getting started section framed Docker Engine v23.0 as a recent dividing line and included instructions for enabling BuildKit on older versions. Removed the pre-23.0 enable instructions and simplified to state that BuildKit is the default builder, with a note that Windows containers still use the legacy builder. Co-Authored-By: Claude Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> --- content/manuals/build/buildkit/_index.md | 47 +++--------------------- 1 file changed, 6 insertions(+), 41 deletions(-) diff --git a/content/manuals/build/buildkit/_index.md b/content/manuals/build/buildkit/_index.md index 18084019341..20bbddd3092 100644 --- a/content/manuals/build/buildkit/_index.md +++ b/content/manuals/build/buildkit/_index.md @@ -5,14 +5,10 @@ description: Introduction and overview of BuildKit keywords: build, buildkit --- -## Overview - -[BuildKit](https://github.com/moby/buildkit) -is an improved backend to replace the legacy builder. BuildKit is the default builder -for users on Docker Desktop, and Docker Engine as of version 23.0. - -BuildKit provides improved functionality and improves your builds' performance. -It also introduces support for handling more complex scenarios: +[BuildKit](https://github.com/moby/buildkit) is the builder backend used by +Docker. BuildKit provides improved functionality and improves your builds' +performance over the legacy builder used in earlier versions of Docker. It also +introduces support for handling more complex scenarios: - Detect and skip executing unused build stages - Parallelize building independent build stages @@ -72,39 +68,8 @@ BuildKit, you would ## Getting started -BuildKit is the default builder for users on Docker Desktop and Docker Engine -v23.0 and later. - -If you have installed Docker Desktop, you don't need to enable BuildKit. If you -are running a version of Docker Engine version earlier than 23.0, you can enable -BuildKit either by setting an environment variable, or by making BuildKit the -default setting in the daemon configuration. - -To set the BuildKit environment variable when running the `docker build` -command, run: - -```console -$ DOCKER_BUILDKIT=1 docker build . -``` - -> [!NOTE] -> -> Buildx always uses BuildKit. - -To use Docker BuildKit by default, edit the Docker daemon configuration in -`/etc/docker/daemon.json` as follows, and restart the daemon. - -```json -{ - "features": { - "buildkit": true - } -} -``` - -If the `/etc/docker/daemon.json` file doesn't exist, create new file called -`daemon.json` and then add the following to the file. And restart the Docker -daemon. +BuildKit is the default builder for Docker Desktop and Docker Engine users. +If you're building Windows containers, the legacy builder is used instead. ## BuildKit on Windows