You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/manuals/build/cache/garbage-collection.md
+35-1Lines changed: 35 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ Depending on the [driver](../builders/drivers/_index.md) used by your builder in
26
26
the garbage collection will use a different configuration file.
27
27
28
28
If you're using the [`docker` driver](../builders/drivers/docker.md), garbage collection
29
-
can be configured in the [Docker Daemon configuration](/reference/cli/dockerd.md#daemon-configuration-file).
29
+
can be configured in the [Docker Daemon configuration](/reference/cli/dockerd.md#daemon-configuration-file)
30
30
file:
31
31
32
32
```json
@@ -94,3 +94,37 @@ GC Policy rule#3:
94
94
>
95
95
> `Keep Bytes` defaults to 10% of the size of the disk. If the disk size cannot
96
96
> be determined, it uses 2GB as a fallback.
97
+
98
+
The policies above can be represented in the [Docker Daemon configuration](/reference/cli/dockerd.md#daemon-configuration-file) file with the following json:
0 commit comments