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.
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=falseor set a different limit/policy manually.