From e0d30db11538a6551f357e2a51512739e0c88169 Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Mon, 27 Oct 2025 14:37:38 +0100 Subject: [PATCH] docs: update buildgc example config to use new buildkit v0.17 options Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> --- docs/reference/dockerd.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/reference/dockerd.md b/docs/reference/dockerd.md index 3af845725..f2ed19110 100644 --- a/docs/reference/dockerd.md +++ b/docs/reference/dockerd.md @@ -1076,11 +1076,11 @@ The following is a full example of the allowed configuration options on Linux: "builder": { "gc": { "enabled": true, - "defaultKeepStorage": "10GB", + "defaultReservedSpace": "10GB", "policy": [ - { "keepStorage": "10GB", "filter": ["unused-for=2200h"] }, - { "keepStorage": "50GB", "filter": ["unused-for=3300h"] }, - { "keepStorage": "100GB", "all": true } + { "maxUsedSpace": "512MB", "keepDuration": "48h", "filter": [ "type=source.local" ] }, + { "reservedSpace": "10GB", "maxUsedSpace": "100GB", "keepDuration": "1440h" }, + { "reservedSpace": "50GB", "minFreeSpace": "20GB", "maxUsedSpace": "200GB", "all": true } ] } },