|
|
|
|
|
by cpuguy83
346 days ago
|
|
Buildkit is integrated into dockerd the same way the old builder was.
If you want a newer Buildkit you'll need to run it separately of course. I'm not quite sure I understand what you are trying to do with nfs there.
But you can definitely export the cache to a local filesystem and import it with cache-from.
You can also provide named contexts. "Buildkit can only pull them from a registry" is just plain false. |
|
I don't think that the older builder created special containers for itself?
> I'm not quite sure I understand what you are trying to do with nfs there. But you can definitely export the cache to a local filesystem and import it with cache-from.
Which is dog-slow, because it squirts the cache through a socket. I have an NFS disk that can be used to cache the data directly. This was just one of the attempts to make it go faster.
> You can also provide named contexts.
Which can only refer to images that are built inside this particular buildkit or are pullable from a repo.
This is really all I want, a way to quickly reused the previous state saved in some format in Github Cache, NFS, or other storage.