Merge pull request #4797 from dvdksn/daemon-builder-config

docs: add "builder" key to full daemon.json example
This commit is contained in:
Sebastiaan van Stijn 2024-01-16 20:34:02 +01:00 committed by GitHub
commit 33b00e5185
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 11 additions and 0 deletions

View File

@ -983,6 +983,17 @@ The following is a full example of the allowed configuration options on Linux:
"authorization-plugins": [], "authorization-plugins": [],
"bip": "", "bip": "",
"bridge": "", "bridge": "",
"builder": {
"gc": {
"enabled": true,
"defaultKeepStorage": "10GB",
"policy": [
{ "keepStorage": "10GB", "filter": ["unused-for=2200h"] },
{ "keepStorage": "50GB", "filter": ["unused-for=3300h"] },
{ "keepStorage": "100GB", "all": true }
]
}
},
"cgroup-parent": "", "cgroup-parent": "",
"containerd": "/run/containerd/containerd.sock", "containerd": "/run/containerd/containerd.sock",
"containerd-namespace": "docker", "containerd-namespace": "docker",