[containerd-snapshotter] add support to prune build cache type=regular
Open
Nobody has claimed this yet.
kind/enhancement
status/triage
- Dominant language
- Go
- Stars
- 4.5k
- Forks
- 682
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 29
Description
Description
do:
docker builddocker system prune --all --volumesdocker buildx prune -a -fdocker system df -v
still show build cache with cache type=regular
/etc/docker/daemon.json
{
"data-root": "/mnt/other_disk/docker_store",
"default-address-pools": [
{
"base": "100.100.0.0/12",
"size": 16
}
],
"features": {
"containerd-snapshotter": true
}
}
/etc/containerd/config.toml
disabled_plugins = ["cri"]
root = "/mnt/other_disk/containerd-data"
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the commands and configuration shown, especially the containerd snapshotter settings in daemon.json and config.toml. Start by tracing how buildx prune and Docker system df classify and remove cache type=regular; done when the regular cache is pruned and no longer appears in the disk-usage output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100