Skip to content

Commit 33b00e5

Browse files
authored
Merge pull request #4797 from dvdksn/daemon-builder-config
docs: add "builder" key to full daemon.json example
2 parents 5fde1f2 + 22bbdc7 commit 33b00e5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/reference/commandline/dockerd.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -983,6 +983,17 @@ The following is a full example of the allowed configuration options on Linux:
983983
"authorization-plugins": [],
984984
"bip": "",
985985
"bridge": "",
986+
"builder": {
987+
"gc": {
988+
"enabled": true,
989+
"defaultKeepStorage": "10GB",
990+
"policy": [
991+
{ "keepStorage": "10GB", "filter": ["unused-for=2200h"] },
992+
{ "keepStorage": "50GB", "filter": ["unused-for=3300h"] },
993+
{ "keepStorage": "100GB", "all": true }
994+
]
995+
}
996+
},
986997
"cgroup-parent": "",
987998
"containerd": "/run/containerd/containerd.sock",
988999
"containerd-namespace": "docker",

0 commit comments

Comments
 (0)