TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Have you found a solution for sharing Docker cache between build agents?

4 pointsby gajusover 1 year ago

2 comments

gajusover 1 year ago
I am familiar with solutions like Depot, but the problem with them is that they are also building on a remote host. We already have many powerful VMs setup for building. The only inefficiency is that they are not sharing cache layers. I could probably hack something together with rsync and such, but would ideally have a more robust solution.
gladiatr72over 1 year ago
Docker's distribution (formerly registry) with a redis cache, buildx using the cache-(from¦to) directives. There's another flag I'm forgetting that signals the builder to ship all layers.