Exit Code | Name | Description |
---|---|---|
0 | Purposely stopped | The container stopped normally and on purpose, often as part of an automated process. |
1 | Application error | The application crashed due to an uncaught exception, incorrect image reference, or other issue. |
125 | Container failed to run error | The docker run command failed to execute properly. Often caused by misconfigured images or permissions issues. |
126 | Command invoke error | A command inside the container was not executable (e.g., due to permission issues). |
127 | File or directory not found | A specified file or directory does not exist inside the container. |
128 | Invalid argument on exit | The container exited incorrectly with an invalid code (valid exit codes range from 0-255). |
134 | Abnormal termination (SIGABRT) | The container aborted itself using the abort() function, often due to an unrecoverable application error. |
137 | Immediate termination (SIGKILL) | The container was forcefully killed (e.g., out-of-memory errors, manual termination, readiness probes or system-level constraints). |
139 | Segmentation fault (SIGSEGV) | The application tried to access memory it wasn’t assigned, causing a segmentation fault. |
143 | Graceful termination (SIGTERM) | The container received a termination signal and shut down gracefully. |
255 | Exit status out of range | The container exited with a code outside the valid range, meaning the cause of failure is unknown. |
Last active
March 6, 2025 05:05
-
-
Save RafaelM1994/d11b2922182b0a455f4923debed2f932 to your computer and use it in GitHub Desktop.
exit_codes_kubernetes.md
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment