What does exit code 137 mean? And 139, 143?
IntermediateConceptContainers, VMs & Isolation Internals
Answer
Exit code = 128 + signal number. 137 = SIGKILL (often the OOM killer or docker kill/timeout after stop). 143 = SIGTERM handled and exited. 139 = SIGSEGV (segfault). Confirm OOM with docker inspect -f '{{.State.OOMKilled}}' c.
More on Containers, VMs & Isolation Internals
What is a container, in one sentence?BeginnerHow do containers differ from virtual machines?BeginnerCan a Linux container run a Windows application, or the reverse?IntermediateWhat are Linux namespaces? Name the ones Docker uses.BeginnerWhat are cgroups and what do they do for containers?BeginnerWhat is PID 1 in a container and why does it matter?Intermediate