Questions to Determine¶
- What is the exit code of the terminated container and what does it signify?
- What is the entrypoint/command defined in the container image or pod spec?
- Does the binary specified as the entrypoint actually exist in the container image?
- Was the Dockerfile changed recently, particularly the final stage of a multi-stage build?
- Are required shared libraries present in the container image?
- Is the entrypoint script executable (correct file permissions)?
- Does the image use a minimal base (distroless, scratch, alpine) that may be missing dependencies?
- Can the image be tested locally with
docker runto reproduce the error?