Modified: for 12.1.1

Container Exit Codes

Code

Name

What it Means

0Exit successThe program terminated successfully without any errors or interruptions.
1Application errorContainer was stopped due to application error or incorrect reference in the image specification.
125Container failed to run errorThe docker run command did not execute successfully.
126Command invoke errorA command specified in the image specification could not be invoked.
127File or directory not foundFile or directory specified in the image specification was not found.
128Invalid argument used on exitExit was triggered with an invalid exit code (valid codes are integers between 0-255).
134Abnormal termination (SIGABRT)The container aborted itself using the abort() function.
137Immediate termination (SIGKILL)Container was immediately terminated by the operating system via SIGKILL signal.
139Segmentation fault (SIGSEGV)Container attempted to access memory that was not assigned to it and was terminated.
143Graceful termination (SIGTERM)Container received warning that it was about to be terminated, then terminated
255Exit Status Out Of RangeContainer exited, returning an exit code outside the acceptable range, meaning the cause of the error is not known