Docker Troubleshooting Toolkit
Fix restarting containers, image-pull failures, Dockerfile build errors, port conflicts, volume permissions, and container networking with prompts and a Dockerfile validator.
Top Docker errors
Start with the most common production issues and troubleshooting paths.
conflict: unable to remove repository reference
Fix Docker 'conflict: unable to remove image': clear containers using the image, handle multiple tags and child images, and for…
context canceled
Fix Docker 'context canceled': diagnose timeouts, interrupted builds, daemon restarts, and dropped connections that abort Build…
device or resource busy
Fix Docker 'device or resource busy' on volume rm: find containers still using the volume, clear stale mounts, and release busy…
exec /entrypoint.sh: no such file or directory
Fix Docker 'exec /entrypoint.sh: no such file or directory': repair CRLF line endings, missing shells, wrong arch, and unset ex…
failed to create shim task
Fix Docker 'failed to create shim task': repair runc/containerd-shim issues, cgroup v2 misconfig, OCI runtime errors, and missi…
failed to set up container networking
Fix Docker 'failed to set up container networking': repair the docker0 bridge, exhausted IP pools, missing iptables/nftables ru…
layers from manifest don
Fix Docker 'layers from manifest don't match image configuration': clear corrupted pull caches, registry mirror mismatches, and…
max depth exceeded
Fix Docker 'max depth exceeded': flatten oversized layer stacks, refactor RUN-heavy Dockerfiles, and rebuild base images that e…
Best Docker prompts
Use these prompts to turn symptoms, logs, and config into a structured troubleshooting plan.
Docker Build Failure Diagnosis
Diagnose a failing `docker build` from the error output and Dockerfile, pinpoint the breaking instruction (cache, COPY path, network, platform, dependency), and give a tested fix.
Multi-Arch Image Build with Buildx Design
Design a buildx multi-arch (amd64/arm64) image pipeline with the right builder, cross-compilation strategy, cache export, and a single multi-platform manifest pushed to a registry.
Docker Compose Networking & Service Discovery Debug
Troubleshoot Compose services that cannot reach each other, fail DNS resolution, hit port conflicts, or start before dependencies are ready, and produce a corrected compose file.
Crashing Container Exit-Code & Log Debug
Diagnose why a container exits immediately, restart-loops, or gets OOM-killed by reading its exit code, logs, and inspect output, then produce a ranked fix list.
Free Docker tools
Validate, troubleshoot, or analyze your configuration before production changes.
Dockerfile validator
Lint a Dockerfile: unknown instructions, mutable tags, root user, missing HEALTHCHECK, apt cleanup.
Open validatorAI Incident Response Assistant
Paste docker logs and inspect output, get a triage plan.
Start triageDocker runbook
Use a repeatable checklist for production troubleshooting.
A checklist for containers that won’t start, build, or connect.
- 1 Check container state and restart count (docker ps -a)
- 2 Inspect container logs (docker logs --tail=100)
- 3 Validate the Dockerfile (build context, instructions, tags)
- 4 Check port and volume mappings for conflicts/permissions
- 5 Inspect the network and bridge configuration