top | item 36046561

(no title)

poulpi | 2 years ago

Nice!

Our docker builds are getting slow despite using kaniko, does depot has a better caching than kaniko?

How so?

discuss

order

jacobwg|2 years ago

It should yeah, our builders are based on BuildKit rather than Kaniko, which optimizes for building container images in parallel and caching as much as possible. BuildKit also supports some more advanced types of caches, such as cache mounts: https://github.com/moby/buildkit/blob/master/frontend/docker...

Both Kaniko and BuildKit can be run in rootless mode - we are not doing this, instead we give every builder access to an isolated VM, so builds are a bit quicker as well by avoiding some of the security tricks that rootless needs to work.

debarshri|2 years ago

Where does this isolated VM run?