Skip to content

Explain how to set GC policy #21054

@brent-moffit

Description

@brent-moffit

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

I can't find what I'm looking for

Description

The description of garbage collection makes it seem very useful, but the example of how to set it using Docker Desktop's JSON config doesn't explain what any of the parameters do. How do I customize the GC policy? What do the filters do? What other options are supported?

Location

https://docs.docker.com/build/cache/garbage-collection/

Suggestion

Add info on the schema of the gc section, or link to where that info exists elsewhere.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions