Docker 94 🐳 Debugging Ephemeral / Crashed Containers: Debugging Distroless Containers with Ephemeral Containers
Distroless images exist to reduce attack surface: they contain the application binary and its runtime dependencies, and nothing else. No shell, no package manager, no curl, no strace. When a distroless container crashes or misbehaves, the standard debugging reflex—docker exec -it <container> /bin/sh—fails because there is no shell to execute . The ephemeral container pattern…