From 8f3cd44087ae0812f3251d019cf295a6d7a16fba Mon Sep 17 00:00:00 2001 From: Rich Rauenzahn Date: Fri, 6 Dec 2024 15:35:44 -0800 Subject: [PATCH] Add link to docker buildx prune. It took me a long time to realize these policies were documented in the buildx prune command itself. --- content/manuals/build/cache/garbage-collection.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/manuals/build/cache/garbage-collection.md b/content/manuals/build/cache/garbage-collection.md index e371473a5ec8..d0b1e59b8237 100644 --- a/content/manuals/build/cache/garbage-collection.md +++ b/content/manuals/build/cache/garbage-collection.md @@ -16,6 +16,10 @@ cache when the cache size becomes too big, or when the cache age expires. The following sections describe how you can configure both the size and age parameters by defining garbage collection policies. +Each of the policy's parameters corresponds with a `docker buildx prune` command line +argument. Details can be found in the +`docker buildx prune` [documentation](/reference/cli/docker/buildx/prune.md). + ## Configuration Depending on the [driver](../builders/drivers/_index.md) used by your builder instance,