Skip to content

[WCOW] GC storage limit is initialized with constant value #4858

@tonistiigi

Description

@tonistiigi

Unlike Linux that default to percentage of disk size, in Windows the default GC limit is just defined constant https://github.com/moby/buildkit/blob/master/cmd/buildkitd/config/gcpolicy_windows.go#L7 (2GB).

More details in docker/buildx#2411

Anyone hitting this, the workaround is to use --containerd-worker-gc=false or set a different limit/policy manually.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions