Skip to content
Latchkey
Docker

Build, run, compose, and registry errors - explained.

Debug Docker in CI: build failures, layer caching, disk exhaustion, registry auth and rate limits, BuildKit issues, and docker compose problems. Root causes and reliable fixes.

Image build

Dockerfile errors, BuildKit, and layer caching.

"cannot find newuidmap"Fix Buildah "cannot find newuidmap" in CI - the setuid helpers rootless Buildah uses to write UID maps are no… "cannot set up namespace ... operation not permitted"Fix Buildah "cannot set up namespace ... operation not permitted" in CI - rootless Buildah cannot create user… "error building at STEP"Fix Buildah "error building at STEP ..." in CI - a specific Dockerfile instruction failed during buildah bud,… "error pushing ... unauthorized"Fix Buildah "error pushing image ... unauthorized: authentication required" in CI - Buildah has no credential… "short-name ... did not resolve to an alias"Fix Buildah "short-name did not resolve to an alias and no unqualified-search registries are defined" in CI -… "overlay ... operation not permitted"Fix Buildah "unable to create overlay mount ... operation not permitted" in CI - the unprivileged container c… Buildah storage driver "vfs" is slowFix Buildah using the slow vfs storage driver in CI - without fuse-overlayfs or overlay support, rootless Bui… "unexpected key ... in --mount"Fix buildx "--mount=type=cache" errors in CI - an invalid sharing value or an unsupported mount key makes Bui… "failed to solve: ... secret ... not found"Fix buildx "--secret id=...,env=VAR" failures in CI - the referenced environment variable or file is empty, s… "Attestation is not supported for the docker driver"Fix buildx "ERROR: Attestation is not supported for the docker driver" in CI - SBOM and provenance attestatio… "Cache export is not supported for the docker driver"Fix buildx "Cache export is not supported for the docker driver" in CI - registry, gha, and local cache backe… "failed to configure registry cache importer" / cache not foundFix buildx gha cache-from misses in CI - the importer finds no matching cache, so every build runs cold, ofte… "docker exporter does not support exporting manifest lists"Fix buildx "ERROR: docker exporter does not currently support exporting manifest lists" in CI - --load cannot… "rpc error ... transport is closing"Fix buildx "failed to receive status: rpc error: code = Unavailable desc = transport is closing" in CI - the… "ResourceExhausted: grpc: received message larger than max"Fix buildx "failed to solve: rpc error: code = ResourceExhausted desc = grpc: received message larger than ma… "error from sender: open ... permission denied"Fix buildx "ERROR: failed to solve: error from sender: open /path: permission denied" in CI - BuildKit could… "failed to fetch anonymous token"Fix buildx "failed to solve: failed to fetch oauth token / anonymous token" in CI - BuildKit could not authen… "process did not complete successfully: exit code: 1"Fix buildx "ERROR: failed to solve: process \"/bin/sh -c ...\" did not complete successfully: exit code: 1" i… "the Dockerfile cannot be empty"Fix buildx "ERROR: failed to solve: the Dockerfile cannot be empty" in CI - BuildKit received a zero-byte or… "tag is needed when pushing to registry"Fix buildx "ERROR: tag is needed when pushing to registry" in CI - a build with --push or --output type=regis… "failed to load ... no such file or directory"Fix buildx bake "failed to load <file>: no such file or directory" in CI - bake could not find the docker-bak… "failed to parse error response ... 400"Fix buildx gha cache "ERROR: failed to solve: ... failed to parse error response: status code 400" in CI - th… Caching layers without a daemonFix slow daemonless builds that rebuild every layer in CI - without a persistent daemon, Kaniko and Buildah n… "additional property ... is not allowed"Fix Compose "services.X additional property Y is not allowed" in CI - a misspelled or misplaced key fails the… "Bind for 0.0.0.0:PORT failed: port is already allocated"Fix Compose "Bind for 0.0.0.0:5432 failed: port is already allocated" in CI - a published port is already tak… "build path ... either does not exist"Fix Compose "build path /path either does not exist, is not accessible, or is not a valid URL" in CI - a serv… "container for service ... is unhealthy"Fix Compose "dependency failed to start: container X is unhealthy" in CI - a service with depends_on conditio… "failed to solve" (compose build)Fix Compose "failed to solve: ..." when building a service in CI - Compose delegates the build to BuildKit, w… "invalid project name"Fix Compose "invalid project name X: must consist only of lowercase alphanumeric characters, hyphens, and und… "no such service"Fix Compose "no such service: X" in CI - a compose command named a service that does not exist in the resolve… "pull access denied for ... may require 'docker login'"Fix Compose "pull access denied for X, repository does not exist or may require docker login" in CI - Compose… "refers to undefined secret"Fix Compose "service X refers to undefined secret Y" in CI - a service lists a secret that has no matching to… "no space left on device"Fix "no space left on device" during Kaniko or Buildah builds in CI - unpacking base images and layers fills… Dagger "context canceled"Fix Dagger "context canceled" in CI - the run was interrupted, usually a job timeout, an OOM-killed engine, o… Dagger "DAGGER_CLOUD_TOKEN" not setFix Dagger Cloud traces not appearing in CI - Dagger Cloud needs a valid DAGGER_CLOUD_TOKEN in the job enviro… Dagger "failed to connect to engine"Fix Dagger "failed to connect to engine" in CI - the Dagger CLI could not reach its engine container, usually… Dagger "failed to get secret"Fix Dagger "failed to get secret" in CI - a secret reference such as env:// or op:// could not be resolved be… Dagger "failed to load module"Fix Dagger "failed to load module" in CI - the engine could not read dagger.json or build the module, often a… Dagger "failed to start engine"Fix Dagger "failed to start engine" in CI - the engine container was created but could not initialize, often… Dagger "no such function"Fix Dagger "function ... not found" in CI - the function you called is not exposed by the loaded module, ofte… Dagger "Error: input:"Fix Dagger "Error: input: ..." GraphQL errors in CI - the engine rejected a query, usually a bad field, argum… Dagger "permission denied ... docker.sock"Fix Dagger "permission denied while trying to connect to the Docker daemon socket" in CI - the user running d… Dagger "no space left on device"Fix Dagger "no space left on device" in CI - the engine cache and cache volumes filled the runner disk. Prune… Dagger "incompatible version"Fix Dagger "incompatible" CLI/engine version errors in CI - the CLI or SDK version does not match the engine… Dagger "failed to pull engine image"Fix Dagger engine image pull failures in CI - the CLI could not pull the engine image, often a registry rate… .dockerignore excluded fileFix builds where .dockerignore silently drops a file the Dockerfile needs in CI - an over-broad pattern exclu… "cache export failed: unauthorized"Fix Docker buildx registry cache backend errors in CI - "--cache-to type=registry" or "--cache-from type=regi… "platform not supported"Fix Docker "--platform linux/arm64 not supported" / "cannot run" in CI - building or running a foreign archit… "attestations not supported"Fix Docker buildx "--provenance"/"--sbom" attestation failures in CI - attestations turn a build into a manif… "ADD failed: failed to get destination"Fix Docker build "ADD failed: failed to get destination" in CI - an ADD cannot resolve its destination becaus… "ADD failed: stat"Fix Docker "ADD failed: stat /var/lib/docker/.../file: no such file or directory" in CI - an ADD source missi… "ARG before FROM"Fix a Dockerfile where an ARG declared before FROM is not visible after FROM in CI - global ARGs are only usa… "buildx component missing"Fix Docker "BuildKit is enabled but the buildx component is missing or broken" in CI - `DOCKER_BUILDKIT=1` is… "target not defined"Fix Docker "buildx bake: target X is not defined" in CI - a bake target or group name that does not exist in… "buildx bake" failedFix Docker "buildx bake" failures in CI - a bad HCL/JSON bake file, an undefined target or variable, or a ref… "failed to find driver"Fix Docker "buildx create: failed to find driver" / "no valid drivers found" in CI - a misspelled --driver, a… "failed to receive status"Fix Docker "buildx failed with: ERROR: failed to build: failed to receive status: rpc error" in CI - the Buil… "cache mount permission denied"Fix a BuildKit cache mount that denies writes in CI - a RUN --mount=type=cache directory is owned by root or… "cannot copy to non-directory"Fix Docker "failed to solve: cannot copy to non-directory" in CI - a COPY targeting a path that already exist… "COPY --chmod not supported"Fix Docker "the --chmod option requires BuildKit" / "COPY --chmod not supported" in CI - the `--chmod` flag o… "chown: invalid user"Fix Docker "COPY --chown=appuser: invalid user" / "unable to find user" in CI - referencing a user or group t… "invalid from flag value"Fix Docker "COPY --from=<x>: invalid from flag value" / stage not found in CI - a COPY --from referencing a s… "COPY failed: ... not found in build context"Fix the Docker "COPY failed: file not found in build context" error in CI, caused by copying a path absent fr… "COPY failed: no source files"Fix Docker "COPY failed: no source files were specified" in CI - a glob matching nothing, a path outside the… "could not find named context"Fix BuildKit "failed to solve: could not find named context <name>" in CI - a COPY --from / FROM referencing… "cannot export manifest list with --load"Fix Docker buildx "docker exporter does not currently support exporting manifest lists" in CI - using --load… "docker init" file conflictsFix Docker "docker init" problems in CI - it is interactive by design, can overwrite an existing Dockerfile/c… "unknown instruction"Fix the Docker "dockerfile parse error: unknown instruction" in CI, caused by a typo, a stray line, or a cont… "dockerfile parse error"Fix Docker "failed to solve: dockerfile parse error" in CI - unknown instructions, bad line continuations, or… "maximum number of args"Fix Docker "maximum number of arguments exceeded" in CI - a Dockerfile instruction (often RUN or a flag list)… "unknown flag: link"Fix Docker "unknown flag: link" in CI - `COPY --link` requires BuildKit with a Dockerfile frontend new enough… "ENV value with spaces"Fix a Dockerfile ENV with spaces that breaks the build in CI - an unquoted ENV value containing spaces is par… "failed to load metadata ... rate limit"Fix the Docker "failed to load metadata for docker.io" rate-limit error in CI, caused by anonymous Docker Hub… "exec /entrypoint.sh: no such file or directory"Fix "exec /entrypoint.sh: no such file or directory" when the script clearly exists - CRLF line endings or a… "exec format error"Fix the Docker "exec format error" in CI builds and runs, caused by running an image built for a different CP… "executor failed running"Fix Docker "executor failed running [/bin/sh -c ...]: exit code: N" in CI - the legacy-builder phrasing for a… "executor failed running [/bin/sh -c ...]"Fix Docker build "executor failed running [/bin/sh -c <cmd>]: exit code: N" in CI - a RUN step command exited… "failed commit on ref"Fix BuildKit "failed to solve: failed commit on ref ...: unexpected status: 4xx/5xx" in CI - exporting an ima… "cache key COPY --from not found"Fix BuildKit "failed to compute cache key: ... not found" on a COPY --from in CI - the file or path being cop… "failed to compute cache key: failed to walk"Fix Docker buildx "failed to compute cache key: failed to walk <path>" in CI - BuildKit cannot traverse the c… "failed to compute cache key ... not found"Fix the Docker "failed to compute cache key: ... not found" build error in CI, caused by a COPY or ADD source… "failed to compute cache key"Fix BuildKit "failed to compute cache key: not found" in CI - a COPY source missing from the context, a bad c… "file changed during build"Fix BuildKit "failed to compute checksum of ref" in CI - a file in the build context was modified or removed… "failed to read dockerfile"Fix Docker "failed to solve: failed to read dockerfile" in CI - a missing Dockerfile, wrong -f path, or the b… "cannot copy to non-directory"Fix Docker build "failed to solve: cannot copy to non-directory" in CI - a COPY of multiple files (or a direc… "cannot replace to directory with file"Fix BuildKit "failed to solve: cannot replace to directory with a file" in CI - a COPY/ADD tries to write a f… "DeadlineExceeded"Fix Docker buildx "failed to solve: ... DeadlineExceeded" in CI - a build step or a backend call (cache, regi… "failed to solve ... dockerfile.v0 not found"Fix the Docker BuildKit "failed to solve with frontend dockerfile.v0: failed to read dockerfile" error in CI,… "dockerignore parse error"Fix BuildKit ".dockerignore parse error" in CI - a malformed pattern, bad negation, or invalid line in `.dock… "failed to load LLB"Fix BuildKit "failed to solve: failed to load LLB" in CI - the Dockerfile frontend produced an LLB build grap… "failed to read dockerfile"Fix Docker buildx "failed to solve: failed to read dockerfile" in CI - BuildKit cannot find or open the Docke… "invalid file request"Fix Docker buildx "failed to solve: invalid file request <path>" in CI - a COPY/ADD or -f references a path t… "invalid mount config"Fix BuildKit "failed to solve: invalid mount config" in CI - a `RUN --mount=type=cache` declared a malformed… "lstat /var/lib/docker"Fix BuildKit "failed to solve: lstat /var/lib/docker: permission denied" in CI - the builder tried to stat a… "lstat ... no such file"Fix Docker buildx "failed to solve: ... lstat <path>: no such file or directory" in CI - a COPY/ADD source do… "no active session"Fix BuildKit "failed to solve: no active session for <id>" in CI - the buildx session that carries context, s… "process did not complete (exit 2)"Fix Docker build "failed to solve: process \"/bin/sh -c ...\" did not complete successfully: exit code: 2" in… "grpc message exceeds maximum"Fix BuildKit "failed to solve: ResourceExhausted: grpc: received message larger than max" in CI - a single bu… "rpc error: code = Canceled"Fix Docker buildx "failed to solve: rpc error: code = Canceled" in CI - the build was cancelled because the j… "rpc error: failed to copy"Fix BuildKit "failed to solve: rpc error: code = Unknown desc = failed to copy" in CI - the builder lost its… "WORKDIR creates invalid path"Fix BuildKit "failed to solve: WORKDIR ... creates an invalid path" in CI - a WORKDIR value collides with an… "failed to solve"Decode Docker BuildKit "ERROR: failed to solve" messages in CI - missing files, bad cache mounts, network fai… "FROM --platform invalid"Fix Docker "invalid platform" on a `FROM --platform=` line in CI - the platform string is malformed or names… "HEALTHCHECK interval invalid"Fix a Dockerfile HEALTHCHECK with an invalid --interval/--timeout duration in CI - the value is missing a uni… "heredoc not supported"Fix Docker heredoc-in-RUN parse failures in CI - `RUN <<EOF` heredoc syntax needs BuildKit with a Dockerfile… "importing cache manifest ... not found"Fix BuildKit "error: importing cache manifest from ...: not found" in CI - a --cache-from reference that has… "multiple platforms not supported"Fix Docker buildx "Multiple platforms feature is currently not supported for docker driver" in CI - the defau… "no match for platform"Fix Docker "no match for platform in manifest" in CI - pulling or building for an architecture the image does… "no space left on device"Fix the Docker "no space left on device" build error in CI by reclaiming disk from accumulated layers and bui… "ONBUILD trigger failed"Fix an ONBUILD trigger that fails when a downstream image is built in CI - a base image's ONBUILD COPY/RUN ru… ONBUILD trigger surprisesFix Docker builds that fail in surprising ways because a base image's ONBUILD triggers run COPY/RUN during th… "process did not complete successfully"Fix BuildKit "failed to solve: process \"/bin/sh -c ...\" did not complete successfully: exit code: 1" in CI… "returned a non-zero code: 1"Fix the Docker "The command ... returned a non-zero code: 1" build error in CI, where a RUN instruction itsel… "ssh agent not available"Fix BuildKit "RUN --mount=type=ssh: agent not available" in CI - a build step requested an SSH socket but no… "SSH agent not available"Fix BuildKit "failed to solve: ... SSH agent not available" / "no ssh forwarded" in CI - RUN --mount=type=ssh… "could not resolve host" (--network=none)Fix Docker build failures where a RUN --network=none step (or a default-no-network builder) cannot download a… "NO_PUBKEY" in apt-getFix Docker build "The following signatures couldn't be verified ... NO_PUBKEY" during RUN apt-get update - mi… "docker scout cves" failuresFix Docker "scout cves" failures in CI - the Scout plugin not installed, no Docker login for analysis, or a v… "secret <id> not found"Fix BuildKit "failed to solve: secret <id> not found" in CI - a RUN --mount=type=secret that has no matching… "secret target not mounted"Fix a BuildKit secret mount that is missing at its target path in CI - the RUN reads /run/secrets/<id> but th… "stage name not found"Fix a multi-stage Dockerfile where COPY --from references a stage name that does not exist in CI - the named… "invalid signal"Fix Docker build "invalid signal" from a bad STOPSIGNAL value in CI - a misspelled signal name, a missing SIG… "target stage not found"Fix Docker "failed to solve: target stage X could not be found" in CI - a --target or COPY --from naming a bu… "--mount requires BuildKit"Fix Docker "the --mount option requires BuildKit" in CI - RUN --mount cache/secret syntax used while the lega… "Dockerfile cannot be empty"Fix Docker "the Dockerfile (Dockerfile) cannot be empty" in CI - a zero-byte Dockerfile, a stdin build with n… "Usage of undefined variable"Fix Docker BuildKit "UndefinedVar: Usage of undefined variable \$X" in CI - an ARG referenced before declarat… "unknown instruction"Fix Docker "dockerfile parse error: unknown instruction: X" in CI - a shell command on its own line, a leaked… "USER does not exist"Fix a Dockerfile USER referencing an account that does not exist in the image in CI - the named user/group wa… "WORKDIR requires absolute path"Fix Docker build "the working directory ... must be an absolute path" / surprising relative WORKDIR behavior… apk "temporary error (try again later)"Fix Docker build "apk add" network failures in CI - "temporary error (try again later)", "could not connect",… apt-get update "404 Not Found"Fix Docker build apt-get update failures in CI - "404 Not Found", "Repository ... Release file no longer vali… "Could not resolve host" (build)Fix Docker build "Could not resolve host" / "Temporary failure in name resolution" in CI - a RUN step cannot… "failed to solve: failed to export image"Fix "failed to solve: failed to export image" at the end of a Docker build in CI - the export phase could not… "failed to load cache key"Fix Docker buildx "failed to load cache key" in CI - the registry/gha cache backend could not be read, due to… "too many open files"Fix Docker build "too many open files" / "EMFILE" during a RUN step in CI - the file-descriptor ulimit is too… "Filename too long" (Windows checkout)Fix "Filename too long" when building a Docker image on a Windows CI runner - Git cannot check out deep paths… "failed to fetch oauth token"Fix BuildKit "failed to solve: failed to fetch oauth token: unexpected status: 401/403" in CI - the build cou… "lazy initialization"Fix BuildKit "failed to solve: failed to do request ... during lazy initialization" / "lazy blob not found" i… "frontend dockerfile.v0 not found"Fix BuildKit "failed to solve: frontend dockerfile.v0 not found" / "no frontend attribute" in CI - a missing… "failed to dial gRPC: ... buildkitd"Fix Docker buildx "error: failed to dial gRPC: ... buildkitd" in CI - the builder cannot reach the BuildKit d… "failed to read current commit"Fix buildx "error: failed to read current commit information with git rev-parse --is-inside-work-tree" in CI… "cannot reuse body"Fix buildx "failed to solve: cannot reuse body, request must be retried" in CI - an HTTP request to the regis… "multi-platform requires push"Fix buildx "ERROR: Multiple platforms feature is currently not supported for docker driver / requires manifes… "no builder instance found"Fix Docker buildx "ERROR: no builder \"X\" found" / "no active builder instance" in CI - referencing a builde… "no builder ... instance"Fix the Docker buildx "ERROR: no builder ... found" / "no builder instance" error in CI when a buildx command… "build must be a string or object"Fix Docker Compose "services.X.build must be a string or object" in CI - a malformed build key, usually a lis… "failed to compute cache key: ... not found"Fix a COPY --from failure where the stage exists but the path does not in CI - the artifact you copy from a n… shell-form ENTRYPOINT (PID 1)Fix Docker containers that ignore SIGTERM and take 10s to stop in CI - a shell-form ENTRYPOINT/CMD wraps the… "exit code: 137" (OOM)Fix the Docker "exit code: 137" out-of-memory build error in CI, where the OOM killer terminates a RUN step t… "unexpected end of statement"Fix BuildKit heredoc "unexpected end of statement while looking for matching heredoc" in CI - a RUN <<EOF blo… "ADD failed: failed to GET ... with status 404"Fix "ADD failed: failed to GET https://... with status 404 Not Found" in a Docker build in CI - the remote UR… "ADD requires at least two arguments"Fix "ADD requires at least two arguments, but only one was provided" in a Docker build in CI - an ADD instruc… "chmod: ... Operation not permitted"Fix "chmod: changing permissions of X: Operation not permitted" in a Docker build in CI - a RUN step tries to… "COPY requires at least two arguments"Fix "COPY requires at least two arguments, but only one was provided" in a Docker build in CI - a COPY instru… "E: Unable to locate package"Fix "E: Unable to locate package X" in a Dockerfile RUN step in CI - apt has no package index because apt-get… "ENV must have two arguments"Fix "ENV must have two arguments" in a Docker build in CI - an ENV instruction names a variable but gives it… "mkdir: cannot create directory: Permission denied"Fix "mkdir: cannot create directory X: Permission denied" in a Docker build in CI - a RUN step writes to a ro… "provide a source image with `from` prior to"Fix "Please provide a source image with from prior to run" in a Docker build in CI - a build instruction appe… "the --chmod option requires BuildKit"Fix "the --chmod option requires BuildKit" in a Docker build in CI - a COPY or ADD uses --chmod while the leg… "useradd: user already exists"Fix "useradd: user X already exists" during a Docker build in CI - the base image already defines that user o… "Temporary failure resolving"Fix apt-get "Temporary failure resolving archive.ubuntu.com" during a Docker build in CI - the build has no w… "Hash Sum mismatch"Fix apt-get "Failed to fetch ... Hash Sum mismatch" during a Docker build in CI - a stale cached index, a mid… "Error: Unable to find a match"Fix dnf "No match for argument" / "Error: Unable to find a match" in a Docker build in CI - on a RHEL or Fedo… "invalid containerPort"Fix "invalid containerPort: X" on a Dockerfile EXPOSE in CI - the port value is non-numeric or malformed, oft… "toomanyrequests: ... pull rate limit"Fix "toomanyrequests: You have reached your pull rate limit" when pulling a FROM base image during a Docker b… "Unknown flag: start-interval"Fix "Unknown flag: start-interval" on a Dockerfile HEALTHCHECK in CI - the instruction uses a flag your Docke… "Syntax error - can't find = in"Fix "Syntax error - can't find = in" on a Dockerfile LABEL in CI - a LABEL was given without a name=value pai… ONBUILD trigger fails on FROMFix an ONBUILD build trigger failure in CI - a base image defines ONBUILD instructions that fire when you bui… "/bin/sh: 1: X: not found"Fix a RUN step that exits 127 with "/bin/sh: 1: X: not found" in a Docker build in CI - the command is not on… "pip install ... did not complete successfully: exit code: 1"Fix a RUN pip install step that exits 1 in a Docker build in CI - pip failed because of blocked network egres… Earthly "could not connect to buildkitd"Fix Earthly "could not connect to buildkitd" in CI - Earthly needs a running BuildKit daemon, and the CI job… Earthly "syntax error"Fix Earthly Earthfile syntax errors in CI - the parser rejected the file before building, usually a bad comma… Earthly "failed to solve"Fix Earthly "failed to solve" in CI - BuildKit could not execute a step in the target graph. The real cause i… Earthly "no space left on device"Fix Earthly "no space left on device" in CI - the BuildKit cache and layers filled the runner disk. Prune the… Earthly "--push" not enabledFix Earthly RUN --push and SAVE IMAGE --push errors in CI - push-only commands run only when you invoke earth… Earthly "artifact not found"Fix Earthly "SAVE ARTIFACT ... not found" in CI - the path you saved does not exist in the build container, s… Earthly "target ... does not exist"Fix Earthly "target ... does not exist" in CI - the +target you invoked is not defined in the Earthfile at th… Earthly "waiting for buildkit"Fix Earthly hanging on "waiting for buildkit" in CI - buildkitd started but never became ready within the tim… Earthly "WITH DOCKER" failedFix Earthly WITH DOCKER failures in CI - the nested Docker-in-Docker daemon could not start inside buildkitd,… Earthly "signal: killed" (OOM)Fix Earthly builds killed by OOM under high parallelism in CI - buildkitd runs many targets at once and exhau… Earthly push "denied"Fix Earthly "denied" / "authentication required" when pushing an image in CI - buildkitd has no valid registr… Earthly "EARTHLY_TOKEN" missingFix Earthly remote cache and Satellite auth failures in CI - remote cache and Earthly Cloud require a valid E… "failed to retrieve" cacheFix Kaniko cache "failed to retrieve" warnings in CI - Kaniko cannot read cached layers from the cache reposi… "--destination must be provided"Fix Kaniko "You must provide --destination flag" in CI - Kaniko needs a push destination unless you explicitl… "context ... not found"Fix Kaniko context and Dockerfile resolution errors in CI - Kaniko cannot find the build context or the Docke… "could not create ... permission denied"Fix Kaniko "could not create /kaniko ... permission denied" in CI - the executor cannot write to its working… "error building stage ... no such file or directory"Fix Kaniko "error building image: error building stage: ... no such file or directory" in CI - a COPY or ADD… "error checking push permissions"Fix Kaniko "error checking push permissions" in CI - Kaniko probes the destination registry before building a… "error pushing image ... UNAUTHORIZED"Fix Kaniko "error pushing image: failed to push to destination ... UNAUTHORIZED" in CI - Kaniko has no regist… "kaniko should only be run inside of a container"Fix Kaniko "kaniko should only be run inside of a container" in CI - the executor was launched directly on th… "no matching manifest for ..."Fix Kaniko "no matching manifest for linux/amd64" in CI - the base image has no manifest for the platform Kan… "TOOMANYREQUESTS" pull rate limitFix Kaniko "TOOMANYREQUESTS: You have reached your pull rate limit" in CI - the base image pull from Docker H… "unpacking rootfs ... operation not permitted"Fix Kaniko "unpacking rootfs ... operation not permitted" in CI - Kaniko cannot extract the base image becaus… Kaniko: Docker vs k8s executorUnderstand why Kaniko behaves differently under a Docker executor versus a Kubernetes executor in CI, and how… Where daemonless builders read registry authFix registry auth "no credentials" issues in CI - Kaniko, Buildah, and podman each read credentials from diff… "there might not be enough IDs" subuid/subgidFix "there might not be enough IDs available in the namespace" in CI - rootless daemonless builders need adeq… Daemonless build in an unprivileged containerUnderstand daemonless build failures inside unprivileged CI containers (GitLab Kubernetes executor) - why nam…

Registry & pulls

Auth, rate limits, and manifest errors.

"The repository ... does not exist"Fix Amazon ECR "name unknown: The repository with name X does not exist in the registry" in CI - ECR does not… "no basic auth credentials"Fix Amazon ECR "no basic auth credentials" in CI - the daemon never authenticated to ECR with get-login-passw… "Your authorization token has expired"Fix Amazon ECR "Your authorization token has expired. Reauthenticate and try again." in CI - ECR docker login… "manifest unknown"Fix Azure ACR "manifest unknown" in CI - the tag or digest you requested does not exist in the repository, of… "unauthorized: ... not authorized"Fix Azure Container Registry "unauthorized: <principal> not authorized to perform action" in CI - the identit… "403 Forbidden" (ECR/GHCR)Fix the Docker "403 Forbidden" error pulling or pushing to ECR or GHCR in CI, caused by an expired registry t… "blob unknown to registry"Fix Docker push "blob unknown to registry" in CI - a layer the registry expected to already exist could not b… "blob upload unknown"Fix "blob upload unknown to registry" when a push is interrupted in CI - a chunked layer upload was dropped o… "imagetools create failed"Fix "docker buildx imagetools create" failing in CI - combining per-arch tags into one manifest list fails be… "error during connect" (remote context)Fix Docker "docker context use" failures in CI - commands target a remote host (SSH/TCP) that is unreachable,… "installation not allowed to Create ... package"Fix GHCR push "denied: installation not allowed to Create organization package" in CI - the GITHUB_TOKEN lack… "denied: requested access"Fix Docker push "denied: requested access to the resource is denied" in CI - pushing to a repository your cre… "denied: requested access to the resource is denied"Fix the Docker "denied: requested access to the resource is denied" push error in CI, caused by missing push… "digest mismatch"Fix Docker "filesystem layer verification failed for digest" / digest mismatch on pull in CI - a downloaded l… "scout failed to analyze"Fix "docker scout: failed to analyze image" in CI - Scout could not analyze the image because it is missing,… "Error parsing reference"Fix Docker "docker tag: Error parsing reference: <ref> is not a valid repository/tag" in CI - a malformed tar… "error parsing HTTP 404 response body"Fix Docker "error parsing HTTP 404 response body" in CI - the daemon hit a non-registry endpoint (a proxy, we… "insufficient_scope"Fix "failed to push: insufficient_scope: authorization failed" in CI - the credential authenticated but lacks… "failed to push: tag does not exist"Fix Docker "failed to push some refs" / "tag does not exist" in CI - pushing a tag that was never created loc… "HTTP response to HTTPS client"Fix Docker "http: server gave HTTP response to HTTPS client" in CI - pushing/pulling to a plain-HTTP registry… "image operating system ... cannot be used"Fix Docker "image operating system \"windows\" cannot be used on this platform" in CI - pulling/running a Win… "insecure-registries" not setFix Docker pulls/pushes failing because a registry needs an "insecure-registries" entry in CI - the daemon as… "invalid reference format"Fix Docker "invalid reference format" in CI - uppercase letters, spaces, double slashes, or unsubstituted var… "invalid reference format"Fix Docker "invalid reference format" in CI - an image name/tag with uppercase, illegal characters, an empty… "invalid tar header"Fix Docker "docker load" errors in CI - "open /dev/stdin: no such file", "invalid tar header", or "unexpected… "no such manifest"Fix Docker "docker manifest create" errors in CI - "no such manifest", "is a manifest list, not a manifest",… "manifest missing platform"Fix "no matching manifest for <platform> in the manifest list entries" in CI - the multi-arch image was pushe… "manifest unknown"Fix Docker "manifest unknown" or "manifest for X not found" in CI - a tag or digest that was never pushed, wa… "manifest unknown"Fix the Docker "manifest unknown" / "manifest for ... not found" pull error in CI, caused by a tag or digest… "name invalid: invalid reference format"Fix Docker push "name invalid: invalid reference format" in CI - registries like GHCR reject uppercase letter… "net/http: request canceled"Fix Docker "net/http: request canceled while waiting for connection (Client.Timeout exceeded)" in CI - a slow… "no matching manifest for linux/amd64"Fix Docker "no matching manifest for linux/amd64 in the manifest list entries" in CI - the image has no build… "pull access denied"Fix Docker "pull access denied for X, repository does not exist or may require 'docker login'" in CI - wrong… "pull access denied ... repository does not exist"Fix Docker "Error response from daemon: pull access denied for <image>, repository does not exist or may requ… "pull access denied for library/..."Fix Docker "pull access denied for library/<image>" in CI - a misspelled official image name that Docker reso… "pull access denied"Fix Docker "pull access denied for <image>, repository does not exist or may require 'docker login'" in CI --… "pull access denied ... repository does not exist"Fix the Docker "pull access denied ... repository does not exist" error in CI, caused by a private base image… "rate limit (implicit latest)"Fix Docker Hub pull rate limit hits in CI caused by pulling an untagged image (implicit `:latest`) that keeps… "anonymous pull denied"Fix a registry that denies anonymous pulls in CI - pulling a private image without logging in returns "denied… "registry-mirrors" not appliedFix Docker registry mirror problems in CI - a configured registry-mirror that is ignored (only applies to Doc… "tag does not exist"Fix Docker "manifest unknown" / "tag does not exist" in CI - a pull referenced a tag that was never pushed to… "tag does not exist"Fix Docker "tag does not exist" / "No such image" when tagging or pushing in CI - referencing a local image o… "toomanyrequests" pull limitFix Docker Hub "toomanyrequests: You have reached your pull rate limit" in CI by authenticating, caching imag… "toomanyrequests: pull rate limit"Fix Docker Hub "toomanyrequests: You have reached your pull rate limit" in CI - anonymous pulls share a low I… "toomanyrequests: ... rate limit"Fix the Docker "toomanyrequests: You have reached your pull rate limit" Docker Hub error in CI by authenticat… "Unable to find image locally"Understand Docker "Unable to find image locally" in CI - usually harmless, but a red flag when the follow-up… "unauthorized: authentication required"Fix Docker "unauthorized: authentication required" on pull or push in CI - expired tokens, missing login, or… "unauthorized: authentication required"Fix the Docker "unauthorized: authentication required" pull error in CI, caused by an expired token, a logged… "received unexpected HTTP status: 401/403"Fix Docker "received unexpected status code 401 Unauthorized / 403 Forbidden" from a registry in CI - a broke… "unsupported media type"Fix "unsupported media type" / "manifest invalid: manifest unknown media type" when pushing to a registry in… "untrusted signature"Fix Docker Content Trust failures in CI - with `DOCKER_CONTENT_TRUST=1`, pulling an unsigned or untrusted ima… "requested image's platform does not match"Fix Docker "WARNING: The requested image's platform (linux/arm64) does not match the detected host platform (… "x509: certificate signed by unknown authority"Fix Docker "x509: certificate signed by unknown authority" pushing or pulling in CI - a self-signed or privat… "x509 unknown authority"Fix "x509: certificate signed by unknown authority" when pulling/pushing to a private registry in CI - the re… "failed to solve: failed to push"Fix Docker buildx "failed to solve: failed to push <ref>" in CI - the push to the registry failed from missin… "multiple platforms feature is currently not supported"Fix Docker buildx "multiple platforms feature is currently not supported for docker driver" in CI - building… containerd image store not enabledFix Docker features that need the containerd image store in CI - multi-platform --load, certain export/import… "requested access to the resource is denied"Fix Docker Hub "denied: requested access to the resource is denied" when pushing in CI - the daemon is not lo… "toomanyrequests: ... pull rate limit"Fix Docker Hub "toomanyrequests: You have reached your pull rate limit" in CI - anonymous and free pulls are… "unauthorized: authentication required"Fix Docker Hub "unauthorized: authentication required" in CI - the registry challenged for credentials and no… "413 Request Entity Too Large"Fix Docker push "received unexpected HTTP status: 413 Request Entity Too Large" in CI - a layer exceeding a r… "unsupported MediaType"Fix Docker push "manifest invalid: unsupported MediaType" / OCI-vs-Docker manifest errors in CI - a registry… "repository does not exist" (ECR)Fix Docker push to Amazon ECR "name unknown: The repository ... does not exist in the registry" in CI - ECR d… "received unexpected HTTP status: 500"Fix transient Docker registry 5xx errors in CI - "received unexpected HTTP status: 500" on push or pull from… "received unexpected HTTP status: 500"Fix the Docker "received unexpected HTTP status: 500 Internal Server Error" pull/push error in CI, usually a… "permission_denied: write_package"Fix GHCR "denied: permission_denied: write_package" in CI - the GITHUB_TOKEN lacks `packages: write`, so the… "installation not allowed to Create organization package"Fix GHCR "installation not allowed to Create organization package" in CI - the GITHUB_TOKEN app installation… "access to the requested resource is not authorized"Fix GHCR pull "unauthorized: access to the requested resource is not authorized" in CI - a private GHCR packa… GHCR "unauthorized" (expired token)Fix GHCR "unauthorized" caused by an expired or job-scoped GITHUB_TOKEN in CI - the token is valid only for t… "artifactregistry.repositories.uploadArtifacts denied"Fix Google Artifact Registry "denied: Permission artifactregistry.repositories.uploadArtifacts denied" in CI… "Token exchange failed"Fix Google "Token exchange failed" from Workload Identity Federation in CI - the OIDC token from GitHub could… GCR "does not have storage.objects.create"Fix gcr.io "denied: Token exchange failed for project ... does not have storage.objects.create access" in CI… "blob upload unknown"Fix Harbor "blob upload unknown to registry" in CI - an in-progress layer upload session was lost, so the cli… "DENIED: insufficient scopes"Fix Harbor "DENIED: insufficient scopes" in CI - the token Harbor issued covers fewer actions than the push n… "project ... not found"Fix Harbor "project <name> not found" in CI - Harbor does not auto-create projects, so the project segment in… "server gave HTTP response to HTTPS client"Fix "http: server gave HTTP response to HTTPS client" in CI - the docker daemon tried HTTPS but the registry… "manifest blob unknown"Fix Quay "manifest blob unknown to registry" in CI - the manifest references a layer or config blob the regis… "access to the requested resource is not authorized"Fix Quay.io "unauthorized: access to the requested resource is not authorized" in CI - the robot account or c… "413 Request Entity Too Large"Fix registry "received unexpected HTTP status: 413 Request Entity Too Large" when pushing a large layer in CI… "image's platform ... does not match"Fix "image's platform (linux/amd64) does not match the specified platform (linux/arm64)" in CI - the pulled i… "manifest for ... not found"Fix registry "manifest for <ref> not found" / "not found: manifest unknown" in CI - the tag you pulled does n… "x509: certificate signed by unknown authority"Fix "x509: certificate signed by unknown authority" pulling/pushing a self-hosted registry in CI - the regist…

Run & resources

OOM kills, disk space, and exit codes.

QEMU emulation "Illegal instruction"Fix Docker emulated builds crashing with "Illegal instruction (core dumped)" or hanging under QEMU in CI - bi… "could not select device driver"Fix Docker "--gpus all" failures in CI - "could not select device driver with capabilities: [[gpu]]" or "unkn… "Is the docker daemon running?"Fix Docker "Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?… "Cannot connect to the Docker daemon"Fix the Docker "Cannot connect to the Docker daemon ... Is the docker daemon running?" error in CI, common wh… "volume is in use"Fix Docker "Error response from daemon: remove <vol>: volume is in use" in CI - a `docker volume rm` failed b… "cannot stop container"Fix Docker "Error response from daemon: cannot stop container" in CI - a `docker stop` ran against a containe… "memory limit not supported"Fix "Your kernel does not support memory limit capabilities or the cgroup is not mounted" in CI - the host ke… "cannot enter cgroupv2"Fix Docker cgroup v2 errors in CI - "cannot enter cgroupv2", missing controllers, or runc failing to set up t… "memory cgroup not supported"Fix Docker "Error response from daemon: cgroups: memory cgroup not supported on this system" in CI - the memo… "client version too new"Fix Docker "client version X is too new. Maximum supported API version is Y" in CI - the CLI negotiated an AP… "container name is already in use"Fix Docker "Error response from daemon: Conflict. The container name ... is already in use" in CI - a leftove… "container name is already in use"Fix Docker "Error response from daemon: Conflict. The container name <name> is already in use" in CI - a prev… "container ID file found"Fix Docker "Container ID file found, make sure the other container isn't running or delete" in CI - a stale `… "exec format error"Fix "container_linux.go: starting container process caused exec format error" in CI - the entrypoint binary w… "starting container process caused"Decode the older Docker runtime error "container_linux.go: starting container process caused" in CI - missing… "device or resource busy"Fix Docker "unlinkat ... device or resource busy" / "Error removing ... device or resource busy" in CI - a st… "driver failed programming external connectivity"Fix Docker "Error response from daemon: driver failed programming external connectivity on endpoint ... bind:… "driver failed programming external connectivity"Fix Docker "driver failed programming external connectivity on endpoint" in CI - a host port already bound, a… "error during connect: docker_engine"Fix Docker "error during connect ... open //./pipe/docker_engine: The system cannot find the file specified"… "error during connect (TLS)"Fix Docker "error during connect: Get https://docker:2376/...: " TLS connection failures in CI - the CLI coul… "error mounting ... operation not permitted"Fix Docker "OCI runtime create failed: error mounting ... operation not permitted" in CI - a bind mount denie… "network sandbox join failed"Fix "error response from daemon: failed to join network sandbox" in CI - the container could not join its net… "exec format error"Fix Docker "exec /entrypoint: exec format error" in CI - running an image built for a different CPU architect… "exec format error"Fix Docker "exec ... exec format error" in CI -- an image or binary built for a different CPU architecture (o… "exec user process caused"Fix Docker "standard_init_linux.go: exec user process caused: no such file or directory" in CI - missing inte… "failed to create endpoint ... iptables"Fix Docker "failed to create endpoint on network bridge: iptables failed" in CI - stale or missing iptables r… "failed to create endpoint"Fix Docker "Error response from daemon: failed to create endpoint <name> on network <net>" in CI - a leftover… "failed to create shim task"Fix Docker "failed to create shim task: OCI runtime create failed ... executable file not found in $PATH" in… "failed to create shim task"Fix "Error response from daemon: failed to create shim task" in CI - containerd could not spawn the shim/task… "cannot find cgroup mount"Fix Docker "failed to create task ...: cgroups: cannot find cgroup mount destination" in CI - the container r… "failed to register layer"Fix Docker "failed to register layer: ... operation not permitted" pulling images in CI - overlay/userns rest… "failed to register layer: no space left"Fix Docker "failed to register layer: write ...: no space left on device" in CI - the daemon ran out of disk… "set up container networking"Fix "Error response from daemon: failed to set up container networking" on the bridge network in CI - the dae… "failed to set up container networking"Fix Docker "failed to set up container networking" in CI - iptables/bridge problems, exhausted address pools,… "failed to set up exec"Fix Docker exec setup failures in CI - a shell-form CMD/ENTRYPOINT in a `scratch` (or distroless) image has n… "daemon pid file found"Fix "failed to start daemon: pid file found, ensure docker is not running" in CI - a leftover dockerd.pid fro… "does not match platform"Fix Docker "image ... does not match the specified platform" / "image operating system linux cannot be used o… "image is being used"Fix Docker "conflict: unable to delete image, it is being used by stopped container" in CI - a `docker rmi` f… platform does not match hostFix Docker "WARNING: The requested image's platform ... does not match the detected host platform" in CI - pu… "invalid IP in --add-host"Fix Docker "Error response from daemon: invalid IP address in add-host" in CI - a `--add-host host:ip` entry… "layers don't match"Fix Docker "layers from manifest don't match image configuration" in CI - a corrupt local image cache leaves… "error storing credentials"Fix Docker "error storing credentials - err: exit status 1" / "credentials store ... not found" in CI - a mis… "max depth exceeded"Fix Docker "max depth exceeded" in CI - an image with too many stacked layers (often from many RUN/COPY steps… "read-only /var/lib/docker"Fix "Error response from daemon: mkdir /var/lib/docker: read-only file system" in CI - the daemon's data-root… "network not found"Fix Docker "network <name> not found" in CI - referencing an external network that was never created, or one… "no space left on device"Why Docker builds fail with "no space left on device" in CI, and how to reclaim space, prune layers, and stop… "No such image"Fix Docker "No such image" in CI - a parallel `docker system prune` removed an image another step still neede… "No such image" after loadFix Docker "No such image" after `docker load`/`import` in CI - an artifact saved without tags, loaded into a… "OCI runtime create failed: exec: not found"Fix Docker "Cannot start service / OCI runtime create failed: ... exec: \"<cmd>\": executable file not found… "OCI runtime create failed"Decode Docker "OCI runtime create failed: runc ... starting container process caused ... executable file not… "OCI runtime create failed"Fix the Docker "OCI runtime create failed: starting container process caused" error in CI, usually a missing… "mkdir /proc"Fix Docker "oci runtime error: container_linux.go: ... mkdir /proc: ..." in CI - the runtime could not set up… "entrypoint permission denied"Fix "OCI runtime exec failed: exec: permission denied" in CI - the entrypoint script lacks the executable bit… "OCI runtime exec failed"Fix Docker "OCI runtime exec failed: exec failed: ... executable file not found in $PATH" in CI - a docker ex… "permission denied ... /var/run/docker.sock"Fix the Docker "permission denied while trying to connect to the Docker daemon socket" error in CI, caused by… daemon socket permission deniedFix "permission denied while trying to connect to the Docker daemon socket" in CI - caused by the user not be… "port is already allocated"Fix Docker "Bind for 0.0.0.0:5432 failed: port is already allocated" in CI - a leftover container or another… "port is already allocated"Fix the Docker "Bind for failed: port is already allocated" error in CI, caused by another container or proce… "pull always but offline"Fix Docker pull failures with `--pull always` in CI when the runner is offline or air-gapped - the daemon mus… "exec ... permission denied"Fix Docker "standard_init_linux.go: exec user process caused: permission denied" in CI - the entrypoint binar… "standard_init_linux.go: no such file or directory"Fix Docker "standard_init_linux.go:<n>: exec user process caused: no such file or directory" in CI - an entry… "standard_init_linux.go ... exec format error"Fix the Docker "standard_init_linux.go: exec format error" in CI, caused by an architecture mismatch or an en… "storage-driver not supported"Fix dockerd "error initializing graphdriver: driver not supported" / silent vfs fallback in CI - overlay2 una… "write /dev/stdout broken pipe"Fix Docker "write /dev/stdout: broken pipe" in CI - the process reading the container output closed early, so… SELinux bind-mount "Permission denied"Fix Docker bind-mount "Permission denied" on SELinux hosts in CI - the container’s SELinux context cannot acc… Exit code 137 (OOM killed)Docker build or container exiting with code 137 means the process was OOM-killed. Learn why it happens in CI… "exited with code 137"Fix a Docker container that "exited with code 137" at runtime in CI, caused by the out-of-memory killer termi… "container is unhealthy"Fix Docker container marked "unhealthy" in CI - a HEALTHCHECK whose probe fails, too-short start period, or a… "invalid character in daemon.json"Fix dockerd failing to start in CI - "unable to configure the Docker daemon ... invalid character" from a mal… "Mounts denied: not shared"Fix Docker Desktop "Mounts denied: The path ... is not shared and is not known to Docker" - a bind mount outs… healthcheck marked unhealthyFix Docker HEALTHCHECK marking a container unhealthy in CI - a probe that runs before the app is ready, a mis… pull policy "never" no local imageFix Docker/compose pull policy issues in CI - pull_policy: never (or --pull=never) failing because the image… overlay2 out of inodesFix Docker overlay2 "no space left on device" when disk has free bytes in CI - the filesystem under /var/lib/… rootless "permission denied"Fix Docker rootless mode build/run "permission denied" in CI - uid/gid remapping under user namespaces makes… tmpfs "no space left on device"Fix Docker "no space left on device" writing to a tmpfs mount in CI - a --tmpfs or --mount type=tmpfs whose s…

Compose

Service, network, and dependency failures.

"docker-compose: command not found"Fix the "docker-compose: command not found" CI error from the v1 to v2 move, where Compose is now the `docker… "Additional property ... is not allowed"Fix Docker Compose "Additional property X is not allowed" in CI - a misspelled or misindented key that fails… "port is already allocated"Fix Docker Compose "Bind for 0.0.0.0:PORT failed: port is already allocated" in CI - a leftover container, a… "build context path missing"Fix "unable to prepare context: path <dir> not found" / "no such file or directory" for a compose service bui… "build secrets not supported"Fix Docker Compose build-secrets failures in CI - `services.build.secrets` needs BuildKit and a Compose versi… "container ... is unhealthy"Fix Docker Compose "dependency failed to start: container <name> is unhealthy" in CI - a service whose health… "cyclic dependency"Fix Docker Compose "cyclic dependency detected" in CI - two or more services depend on each other through `de… "dependency ... is unhealthy"Fix Docker Compose "dependency failed to start: container X is unhealthy" in CI - a service_healthy depends_o… "dependency failed to start: ... unhealthy"Fix Docker Compose "dependency failed to start: container X is unhealthy" in CI - a depends_on service_health… "dependency failed to start ... unhealthy"Fix the Docker Compose "dependency failed to start: container ... is unhealthy" error in CI, where a depends_… "depends on undefined service"Fix Docker Compose "service <a> depends on undefined service <b>" in CI - a depends_on entry naming a service… "dependency failed to start"Fix Docker Compose depends_on / condition errors in CI - invalid long-form syntax, a missing healthcheck for… "develop.watch" validation errorFix Docker Compose "develop.watch" validation errors in CI - an unknown watch action, a missing path/target,… "env file ... not found"Fix Docker Compose "env file <path> not found" in CI - an env_file (or --env-file) path that does not exist r… "env file ... not found"Fix Docker Compose "env file .env not found" in CI - a referenced env_file missing from the runner, wrong rel… "env_file does not exist"Fix Docker Compose "env file ... not found" in CI - a service `env_file:` references a path that was not crea… "extends file not found"Fix Docker Compose "cannot extend service ...: file ... not found" in CI - an `extends.file` points at a path… "circular reference" in extendsFix Docker Compose "extends" errors in CI - "circular reference", "Cannot extend service ... which does not e… "include" file not foundFix Docker Compose "include" errors in CI - a top-level include path that does not exist, a relative path res… "invalid interpolation format"Fix "invalid interpolation format for <key>" in docker compose in CI - a ${X variable reference is unterminat… "KeyError: ContainerConfig"Fix the legacy docker-compose v1 "KeyError: ContainerConfig" in CI when recreating containers - a Python-base… "mapping values are not allowed"Fix Docker Compose "yaml: mapping values are not allowed in this context" and "services must be a mapping" in… "external network ... could not be found"Fix Docker Compose "network X declared as external, but could not be found" in CI - an external network that… "network ... not found"Fix the Docker Compose "network <name> not found" / "network ... declared as external, but could not be found… "network_mode ... cannot be combined"Fix Docker Compose "service ... declares mutually exclusive network_mode and networks" in CI - a service usin… "no configuration file provided"Fix Docker Compose "no configuration file provided: not found" in CI - compose run from the wrong directory,… "ports must be a mapping"Fix "services.<svc>.ports must be a list" / "ports contains an invalid type, it should be a number or string"… "profile not enabled"Fix Docker Compose runs where a service never starts because its `profiles:` was not enabled in CI - the serv… "compose pull: manifest unknown"Fix Docker Compose "Error pulling image for service X: manifest unknown / not found" in CI - a service image… "pull access denied" (compose)Fix Docker Compose "pull access denied for <image>, repository does not exist or may require docker login" in… "pull access denied for image"Fix Docker Compose "pull access denied for X, repository does not exist or may require docker login" in CI -… "compose pull access denied"Fix "pull access denied for <image>, repository does not exist or may require docker login" during docker com… "read-only file system"Fix Docker Compose "Read-only file system" when a service writes to a mounted volume in CI - a `:ro` flag, a… "service failed to build"Fix Docker Compose build failures in CI - bad build context, missing Dockerfile, dependency ordering, and Bui… "failed to build: ... service"Fix the Docker Compose "service ... failed to build" error in CI, where a service image build fails and the r… "undefined network"Fix "service <name> refers to undefined network <net>" in docker compose in CI - a service's networks list na… "refers to undefined volume"Fix Docker Compose "service X refers to undefined volume Y" in CI - a named volume used by a service but neve… "services.<name> must be a mapping"Fix Docker Compose "services.<name> must be a mapping" in CI - a service defined as a scalar or list instead… "version is obsolete"Fix Docker Compose "the attribute `version` is obsolete, it will be ignored" surfacing as a CI failure - stri… "version is obsolete"Understand the Docker Compose "the attribute version is obsolete" warning in CI - harmless, but a sign you ma… "variable is not set"Fix Docker Compose "WARN: The X variable is not set. Defaulting to a blank string" in CI - an unset interpola… "volume driver not found"Fix "Error response from daemon: create <vol>: error looking up volume plugin <driver>: plugin not found" in… "no develop config" (compose watch)Fix Docker Compose "watch" problems in CI - "docker compose watch" failing or doing nothing because the servi… "yaml: line N: ..."Fix Docker Compose "yaml: line N: did not find expected key / mapping values are not allowed here" in CI - an… "bind source path does not exist"Fix Docker Compose "bind source path does not exist" / "are you trying to mount a directory onto a file" in C… "variable is not set" / wrong defaultFix Docker Compose variable interpolation defaults in CI - ${VAR} empty when unset, the difference between :-… profiled service not startedFix Docker Compose services silently skipped because of profiles in CI - a service assigned a profile only ru… "compose pull" failedFix transient Docker Compose pull failures in CI - image pulls hitting Docker Hub rate limits or registry 5xx… "bind source path does not exist"Fix Docker Compose "error mounting ... bind source path does not exist" in CI - a relative bind-mount host pa…
Explore other topics