buildkit
buildkit copied to clipboard
Where is the buildKit default cache directory?
I use BuildKit in K8s pod to build image, Now this is how I use it:
But when multiple pods run buildkit at the same time, the other tasks will fail because the same buildKitdlock is used;
which is the default cache directory for buildKit?

you can only have one active buildkitd daemon per state/storage directory
@tonistiigi I just want to use cache to speed up building the image, which directory should I mount when running in pod?
I used export-cache(type=local),but it didn't seem to speed up the build
You have to create separate dirs per pod. Or just mount emptyDir vol.