Skip to content

Commit e0d30db

Browse files
committed
docs: update buildgc example config to use new buildkit v0.17 options
Signed-off-by: David Karlsson <[email protected]>
1 parent 5691ade commit e0d30db

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/reference/dockerd.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,11 +1076,11 @@ The following is a full example of the allowed configuration options on Linux:
10761076
"builder": {
10771077
"gc": {
10781078
"enabled": true,
1079-
"defaultKeepStorage": "10GB",
1079+
"defaultReservedSpace": "10GB",
10801080
"policy": [
1081-
{ "keepStorage": "10GB", "filter": ["unused-for=2200h"] },
1082-
{ "keepStorage": "50GB", "filter": ["unused-for=3300h"] },
1083-
{ "keepStorage": "100GB", "all": true }
1081+
{ "maxUsedSpace": "512MB", "keepDuration": "48h", "filter": [ "type=source.local" ] },
1082+
{ "reservedSpace": "10GB", "maxUsedSpace": "100GB", "keepDuration": "1440h" },
1083+
{ "reservedSpace": "50GB", "minFreeSpace": "20GB", "maxUsedSpace": "200GB", "all": true }
10841084
]
10851085
}
10861086
},

0 commit comments

Comments
 (0)