docs icon indicating copy to clipboard operation
docs copied to clipboard

Explain how to set GC policy

Open brent-moffit opened this issue 1 year ago • 1 comments

Is this a docs issue?

  • [X] 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.

brent-moffit avatar Oct 03 '24 19:10 brent-moffit

There will be some changes soon to BuildKit's GC policy configuration. I have had this on my radar for a while, and I think now will be an excellent time to do it, when these new config options arrive.

dvdksn avatar Oct 03 '24 20:10 dvdksn

Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

/lifecycle locked

docker-robot[bot] avatar Jan 17 '25 03:01 docker-robot[bot]