From d47497da2fb0d2584c3e73ef480371ca61dc7b8e Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Fri, 30 Jul 2021 11:08:55 +0200 Subject: [PATCH] Fix broken link to BuildKit page, and remove mention of 18.09 Markdown links don't work well in include files, so use a plain "HTML" link instead. Also removing the mention of Docker 18.09. Docker 18.09 has been released 3 years ago, so users not yet on that release (or up) did not update their docker install for 3 years, which should be "rare" (hopefully) Signed-off-by: Sebastiaan van Stijn --- _includes/enable-buildkit.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/_includes/enable-buildkit.md b/_includes/enable-buildkit.md index 7bc39edead..aee2624039 100644 --- a/_includes/enable-buildkit.md +++ b/_includes/enable-buildkit.md @@ -2,13 +2,17 @@ ### Enable BuildKit -Before we start building images, ensure you have enabled BuildKit on your machine. BuildKit allows you to build Docker images efficiently. For more information, see [Building images with BuildKit](../develop/develop-images/build_enhancements.md). +Before we start building images, ensure you have enabled BuildKit on your machine. +BuildKit allows you to build Docker images efficiently. For more information, +see [Building images with BuildKit](/develop/develop-images/build_enhancements/). -BuildKit is enabled by default for all users on Docker Desktop. If you have installed Docker Desktop, you don't have to manually enable BuildKit. If you are running Docker on Linux, you can enable BuildKit either by using an environment variable or by making BuildKit the default setting. +BuildKit is enabled by default for all users on Docker Desktop. If you have +installed Docker Desktop, you don't have to manually enable BuildKit. If you are +running Docker on Linux, you can enable BuildKit either by using an environment +variable or by making BuildKit the default setting. -> You must be running Docker 18.09 or higher to use BuildKit. - -To set the BuildKit environment variable when running the `docker build` command, run: +To set the BuildKit environment variable when running the `docker build` command, +run: ``` $ DOCKER_BUILDKIT=1 docker build .