1 / 5 · Welcome

Every problem is a question the world is asking.

Zetema (ζήτημα, Greek for “a thing sought”) gathers real problems people want solved, from public pages around the world. Builders find something worth building, and anyone living with a problem can share it, no coding needed.

Edit
Developer tools · A few weeksAnywhere· Source · Nov 2026

CI engineers can't keep Docker build cache mounts (like Maven or Gradle dependency folders) between CI runs.

CI engineers and developers who build Docker images with package manager caches

Where it stands

  1. Sourced (done)
  2. Kit (done)
  3. Wanted (next)
  4. Building
  5. Solved

How this problem came to be

  1. Found1 sourcegithub.com/moby
  2. Quoted4 claimseach checked against its page
  3. BriefWrittenand what solved looks like
  4. Market2 signals544 reactions on the issue
  5. Kit6 steps21 tools · 6 routes
  6. People0 want0 live it · 0 would test

The problem, broken down

Who it hurts
Engineers running Docker builds in CI, especially on GitHub Actions or self-hosted runners, who use RUN --mount=type=cache for build tool dependencies.
The moment
Each CI run downloads all dependencies again because the cache mount is not saved with the build cache.
What people do today
People cache the whole /var/lib/docker directory, dump the buildkit state directory into a tar file, or export cache out of the builder with extra build steps.
Why it's unsolved
The source says cache mounts are not tracked by cache keys and that importing and exporting them was deferred; the maintainer says the design is accepted but not being worked on.
What solved looks like
A cache mount declared in a Dockerfile can be saved to and restored from a registry or CI cache, and a second CI run on a fresh machine reuses the dependencies without downloading them.

Evidence lens

Every claim points at the quote it rests on

Sources

GitHub · moby/buildkit ↗
[1]“Regular remote instruction cache does not work for cache mounts that are not tracked by cache key and are just a location on disk that can be shared by multiple builds.”[2]“What we could do is to allow users to control where the cache location is on disk, in case it is not on top of the snapshots.”[3]“I think the design is accepted. Not being worked on atm.”[4]“It is very surprising that cache mounts do not work in tandem with the --cache-to and --cache-from flags. The lack of this feature makes cache mounts pretty useless in CI.”

Claims

1Cache mounts are not tracked by a cache key and are just a location on disk shared by multiple builds.✓ Quote found in source
2The maintainer proposed letting users control where the cache location is on disk, with a Docker volume or host bind mount as backend.✓ Quote found in source
3A later commenter said the design was accepted but was not being worked on at that time.✓ Quote found in source
4One commenter said cache mounts are pretty useless in CI because they do not work with cache-to and cache-from flags.✓ Quote found in source

Drafted with claude-haiku-5-5 from the cited source and published automatically. Every quote was checked against the source.

Sources

From a public page with a citation.

  1. [1]GitHub · moby/buildkit
What the source says, in short

Each CI run downloads all dependencies again because the cache mount is not saved with the build cache. People cache the whole /var/lib/docker directory, dump the buildkit state directory into a tar file, or export cache out of the builder with extra build steps. The source says cache mounts are not tracked by cache keys and that importing and exporting them was deferred; the maintainer says the design is accepted but not being worked on.

Forks 0

Nobody has forked this yet. Be the first.

Market read

How big this is, from the evidence

How these were measured: Stack Overflow's 2025 survey shows 71.1% of the 24,473 people who answered this question use Docker. This is the upper bound of who could hit this, since only people using BuildKit cache mounts in CI are affected. Total reactions on the GitHub issue, read from its API.

For whoever takes this up

The builder's path for this problem

A path written for this problem: its open questions, who to talk to, its data and its ideas, with tools for each stage and a starter prompt ready to paste into any assistant.

Open the path

Discussion 0

No comments yet.