What this thread does
The problem
Your Docker build stops before producing an image. Choose a repair from the exact failing operation and preceding log; failed to solve alone identifies no cause.
Versions and scope, checked 2026-10-20
| Component | Verified boundary | Licence and price scope |
|---|---|---|
| BuildKit | Current context docs describe missing inputs; numeric version unspecified in the seed report | Not evaluated; no package supplied |
| Docker Desktop / image tag | Multi-platform guide documents emulation; inspect the exact tag's architectures separately | Desktop plans not evaluated |
| Debian base | Debian releases lists Stretch as archived and Trixie as current stable | Not evaluated |
Official pages checked 2026-10-20. These are diagnostic boundaries, not a tested upgrade matrix.
When to pick which repair
| First actionable error | Check | Repair |
|---|---|---|
| Cache key / source not found | Context, COPY source, ignore rules | Correct context or include required input |
| No ARM64 manifest | Exact tag and requested platform | Native compatible tag or deliberate AMD64 emulation |
| Dockerfile not found | Filename and invocation | Correct -f path |
| apt-get update exits 100 | APT errors above wrapper | Repair that repository, network or trust failure |
Cache-key source not found
Exact fully fetched primary reproduction is failed to compute cache key: "/assets" not found: not found, in BuildKit #1942, checked 2026-10-20. Docker's context documentation says the final build argument selects accessible files and ignore rules remove files from that set. COPY sources are relative to that root, not the Dockerfile directory. In #1942, maintainer tonistiigi confirms build bind mounts use the same context and ignore rules. This does not mean every cache-key error has this cause.
For a repository containing client/client.csproj and client/Dockerfile, run from its root after checking relevant ignore rules.
pwd
ls -l client/client.csproj client/Dockerfile
docker build --progress=plain -f client/Dockerfile .
The repair is a context containing the input and a matching COPY path. Narrow an exclusion or add a targeted exception when needed; inspect a Dockerfile-specific ignore file too. For COPY from another stage, inspect that stage's output instead. Do not delete the entire ignore file or prune caches to make missing input appear. Official guidance checked 2026-10-20.
No matching ARM64 manifest
Exact verified message is no matching manifest for linux/arm64/v8 in the manifest list entries, recorded by manishmmmec in Docker for Mac #5142, checked 2026-10-20. The requested tag lacks a matching platform entry. This historical report does not establish that image's current architectures.
Read Docker's multi-platform guide and inspection reference, checked 2026-10-20. Substitute the exact image tag from the failing FROM or service.
docker buildx imagetools inspect vendor/image:tag
Prefer a compatible tag containing ARM64. If an AMD64-only image is required and your builder supports emulation, deliberately target AMD64.
docker build --platform=linux/amd64 --progress=plain -f Dockerfile .
Desktop provides emulation; Docker warns it can be slower. For Compose, set that service's platform to linux/amd64 only after choosing emulation. Do not force ARM64 on a tag lacking it, assume all tags share architectures, or substitute a database product without a migration review.
Dockerfile cannot be read
Exact message is ERROR: failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory, verified in Danilo Vracar's report, checked 2026-10-20. The directory contained differently named Dockerfiles. Docker's build reference documents -f and default file lookup; checked 2026-10-20.
ls -l ad_site.Dockerfile
docker build --progress=plain -t ad-bot -f ad_site.Dockerfile .
Use the real filename, correct case and context. Do not create an empty Dockerfile or change COPY paths for a Dockerfile-selection failure.
apt-get update fails
Exact message is failed to solve: process "/bin/sh -c apt-get update" did not complete successfully: exit code: 100, verified in firehyperx's Compose #11491, checked 2026-10-20. Its preceding log shows Stretch repositories returning 404. Debian's archive page confirms obsolete distributions move to the archive; checked 2026-10-20. For this case, migrate the FROM image to a supported distribution compatible with the app runtime, then rebuild and test the app.
docker build --progress=plain -f Dockerfile .
Read the first APT error before editing. Archived-repository 404s need a base/repository migration; DNS and certificate failures need their own diagnosis. Exit 100 alone proves neither. Docker's APT guidance, checked 2026-10-20, addresses a separate stale-index case by combining update and install.
RUN apt-get update && apt-get install -y --no-install-recommends curl \
&& rm -rf /var/lib/apt/lists/*
Do not use || true, allow unauthenticated repositories, disable certificate checks, or assume combining RUN statements restores retired repositories.
Community evidence and recommendation
BuildKit #1942 is thaJeztah's reproduction, confirmed by maintainer tonistiigi as "expected". Docker for Mac #5142 independently records the platform error. Compose #11491 includes another user's confirmation with plain build and Compose; ndeloof directs investigation to the builder. These are historical reports, not current incidence measurements. For an agent-written Dockerfile, choose the smallest repair matching the failing operation, then verify the build and application startup.
A prompt to give your agent
Read the linked official source for the matching error before proposing a fix; do not guess from failed to solve. Record installed Docker/Buildx versions, invocation, context, Dockerfile path, image tag and first failing log lines. Distinguish missing inputs, missing manifests and APT errors. Propose the smallest diff with a source and check date. Preserve ignore rules for secrets. Do not prune Docker data or weaken repository verification. List what remains unverified.
Limits
No builds, emulation or app tests were run. The supplied failed to compute cache key: "/client/client.csproj" not found: not found was visible in fetched search results, but its full page could not be fetched; it is excluded as fully verified evidence and replaced by the primary /assets reproduction. The supplied ARM64 Stack Overflow page also failed to fetch; its leading ERROR: wrapper is unverified and omitted. Numeric BuildKit/Desktop versions for those seeds are unspecified. Other unverified strings include Temporary failure resolving, NO_PUBKEY and Release file is not valid yet; no specific fix is claimed for them. Community evidence is historical.
Started from a post by @thaJeztah, packaged by the editor. Original post