From f77866f5b4c057fe63bf572a6c6a0a9ec6508a56 Mon Sep 17 00:00:00 2001
From: David Karlsson <35727626+dvdksn@users.noreply.github.com>
Date: Tue, 13 Aug 2024 12:12:23 +0200
Subject: [PATCH] docs: update links to moved manuals pages
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
---
docs/reference/buildx_bake.md | 2 +-
docs/reference/buildx_build.md | 14 +++++++-------
docs/reference/buildx_create.md | 10 +++++-----
3 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/docs/reference/buildx_bake.md b/docs/reference/buildx_bake.md
index 8e2245ac..5de2b288 100644
--- a/docs/reference/buildx_bake.md
+++ b/docs/reference/buildx_bake.md
@@ -164,7 +164,7 @@ $ cat metadata.json
```
> [!NOTE]
-> Build record [provenance](https://docs.docker.com/build/attestations/slsa-provenance/#provenance-attestation-example)
+> Build record [provenance](https://docs.docker.com/build/metadata/attestations/slsa-provenance/#provenance-attestation-example)
> (`buildx.build.provenance`) includes minimal provenance by default. Set the
> `BUILDX_METADATA_PROVENANCE` environment variable to customize this behavior:
> * `min` sets minimal provenance (default).
diff --git a/docs/reference/buildx_build.md b/docs/reference/buildx_build.md
index 714beb6a..1a3cdabb 100644
--- a/docs/reference/buildx_build.md
+++ b/docs/reference/buildx_build.md
@@ -145,7 +145,7 @@ For more information about annotations, see
--attest=type=provenance,...
```
-Create [image attestations](https://docs.docker.com/build/attestations/).
+Create [image attestations](https://docs.docker.com/build/metadata/attestations/).
BuildKit currently supports:
- `sbom` - Software Bill of Materials.
@@ -153,7 +153,7 @@ BuildKit currently supports:
Use `--attest=type=sbom` to generate an SBOM for an image at build-time.
Alternatively, you can use the [`--sbom` shorthand](#sbom).
- For more information, see [here](https://docs.docker.com/build/attestations/sbom/).
+ For more information, see [here](https://docs.docker.com/build/metadata/attestations/sbom/).
- `provenance` - SLSA Provenance
@@ -163,7 +163,7 @@ BuildKit currently supports:
By default, a minimal provenance attestation will be created for the build
result, which will only be attached for images pushed to registries.
- For more information, see [here](https://docs.docker.com/build/attestations/slsa-provenance/).
+ For more information, see [here](https://docs.docker.com/build/metadata/attestations/slsa-provenance/).
### Allow extra privileged entitlement (--allow)
@@ -583,7 +583,7 @@ $ cat metadata.json
```
> [!NOTE]
-> Build record [provenance](https://docs.docker.com/build/attestations/slsa-provenance/#provenance-attestation-example)
+> Build record [provenance](https://docs.docker.com/build/metadata/attestations/slsa-provenance/#provenance-attestation-example)
> (`buildx.build.provenance`) includes minimal provenance by default. Set the
> `BUILDX_METADATA_PROVENANCE` environment variable to customize this behavior:
>
@@ -668,7 +668,7 @@ The arguments for the `--no-cache-filter` flag must be names of stages.
```
Sets the export action for the build result. The default output, when using the
-`docker` [build driver](https://docs.docker.com/build/drivers/), is a container
+`docker` [build driver](https://docs.docker.com/build/builders/drivers/), is a container
image exported to the local image store. The `--output` flag makes this step
configurable allows export of results directly to the client's filesystem, an
OCI image tarball, a registry, and more.
@@ -874,7 +874,7 @@ to a registry if you use the default image store. Alternatively, you can switch
to using the containerd image store.
For more information about provenance attestations, see
-[here](https://docs.docker.com/build/attestations/slsa-provenance/).
+[here](https://docs.docker.com/build/metadata/attestations/slsa-provenance/).
### Push the build result to a registry (--push)
@@ -896,7 +896,7 @@ attestations. Provenance attestations only persist for images pushed directly
to a registry if you use the default image store. Alternatively, you can switch
to using the containerd image store.
-For more information, see [here](https://docs.docker.com/build/attestations/sbom/).
+For more information, see [here](https://docs.docker.com/build/metadata/attestations/sbom/).
### Secret to expose to the build (--secret)
diff --git a/docs/reference/buildx_create.md b/docs/reference/buildx_create.md
index f2904486..96d71b29 100644
--- a/docs/reference/buildx_create.md
+++ b/docs/reference/buildx_create.md
@@ -120,7 +120,7 @@ backend. Buildx supports the following drivers:
* `kubernetes`
* `remote`
-For more information about build drivers, see [here](https://docs.docker.com/build/drivers/).
+For more information about build drivers, see [here](https://docs.docker.com/build/builders/drivers/).
#### `docker` driver
@@ -167,10 +167,10 @@ Passes additional driver-specific options.
For information about available driver options, refer to the detailed
documentation for the specific driver:
-* [`docker` driver](https://docs.docker.com/build/drivers/docker/)
-* [`docker-container` driver](https://docs.docker.com/build/drivers/docker-container/)
-* [`kubernetes` driver](https://docs.docker.com/build/drivers/kubernetes/)
-* [`remote` driver](https://docs.docker.com/build/drivers/remote/)
+* [`docker` driver](https://docs.docker.com/build/builders/drivers/docker/)
+* [`docker-container` driver](https://docs.docker.com/build/builders/drivers/docker-container/)
+* [`kubernetes` driver](https://docs.docker.com/build/builders/drivers/kubernetes/)
+* [`remote` driver](https://docs.docker.com/build/builders/drivers/remote/)
### Remove a node from a builder (--leave)