Pod status RunContainerError
The container was created but failed to start — usually an invalid command/entrypoint, missing interpreter, or permission problem at exec time.
Seen on:
Kubernetes
Meaning
RunContainerError means the runtime’s start call failed, often with “exec: … executable file not found in $PATH”, “permission denied” or a cgroup/seccomp error. It may cycle into CrashLoopBackOff.
Common causes
- Entrypoint/command not found or not executable
- Script with CRLF line endings
- securityContext (readOnlyRootFilesystem, runAsUser) blocks start
- Node runtime/cgroup problem
⚡ Quick fix
- kubectl describe pod for the start error
- Test the image locally with docker run
- Fix command, permissions or securityContext
Detailed fix by platform
Kubernetes
- bash
kubectl describe pod web-0 | grep -A5 'Last State' kubectl run debug --rm -it --image=myimage:1.0 --command -- sh
How to diagnose
- Message — Start error in events
- Image — Works with docker run?
- Security — runAsUser/readOnly settings
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
- ACR unauthorized Azure Container Registry: unauthorized: authentication required, visit https://aka.ms/acr/authorization (AKS ErrImagePull 401)
- Container failed to start Cloud Run: The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable
- CrashLoopBackOff Kubernetes: CrashLoopBackOff
Most viewed in Kubernetes
- error converting YAML to JSON error converting YAML to JSON: yaml: line 12: did not find expected key
- kubectl connection refused kubectl: The connection to the server localhost:8080 was refused — did you specify the right host or port?
- CreateContainerConfigError Kubernetes: CreateContainerConfigError — secret / configmap not found
Other ways to find it
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
Was this page helpful?
Report a correction or suggest an improvement
Last updated 7 Oct 2026