Latchkey Learn
Docker in CI: Registry, Build & Runtime
Docker failures that happen in CI: pulls, pushes, auth, BuildKit, runtime and platform mismatches, diagnosed with the exact fix for each one.
Start here four stops, in order
Contents 3 sections · 46 entries
Registry and pulls 13 entries
Auth, manifests, mirrors.
- 1.1"denied: requested access"
- 1.2"imagetools create" failing
- 1.3containerd image store off
- 1.4"insecure-registries" not set
- 1.5"invalid reference format"
- 1.6"manifest unknown"
- 1.7"net/http: request canceled"
- 1.8"pull access denied"
- 1.9"manifest invalid"
- 1.10"repository does not exist" (ECR)
- 1.11"unexpected status ... 401/403"
- 1.12"x509: certificate signed by unknown authority"
- 1.13BuildKit and a plain registry
Runtime 15 entries
Exec, cgroups, platform, sockets.
- 2.1"cannot enter cgroupv2"
- 2.2"container name is already in use"
- 2.3"device or resource busy"
- 2.4"error during connect: docker_engine"
- 2.5"exec user process caused"
- 2.6"failed to create shim task"
- 2.7"failed to create shim task"
- 2.8"failed to set up container networking"
- 2.9"does not match the specified platform"
- 2.10"read-only file system"
- 2.11"OCI runtime error" on /proc
- 2.12"OCI runtime exec failed"
- 2.13"permission denied ... docker.sock"
- 2.14"exec ... permission denied"
- 2.15"unable to configure the Docker daemon"
Build and BuildKit 18 entries
Dockerfile, cache, buildx.
- 3.1"Attestation is not supported"
- 3.2"failed to receive status"
- 3.3"lstat ...: permission denied"
- 3.4"too many open files"
- 3.5"buildx bake" failed
- 3.6"build must be a string"
- 3.7"declared as external"
- 3.8"the attribute version is obsolete"
- 3.9"COPY --from" unknown stage
- 3.10"COPY failed: file not found"
- 3.11"dockerfile parse error"
- 3.12"failed to calculate checksum"
- 3.13"failed to fetch oauth token"
- 3.14"rpc error: code = Canceled"
- 3.15"invalid file request"
- 3.16"invalid mount config"
- 3.17"target stage could not be found"
- 3.18"--mount requires BuildKit"
Explore other topics
GitHub Actions runners comparedEvery managed runner vendor, priced and benchmarked side by side.
GitHub Actions costWhat Actions really costs, and how to cut it.
Runner failures Latchkey repairsOut of memory, disk full, rate limits, lost runners: reproduced and fixed.
GitHub Actions workflow errorsWorkflow, YAML, permissions and artifact errors, diagnosed and fixed.
Faster GitHub ActionsCaching, parallelism and cold starts, measured.
CI for coding agentsGive your coding agent a runner.