Docker Container Exited with Code 137
Container hit its cgroup memory limit and was killed by the Linux OOM killer.
Runs locally in browser
Free · No login
Available (Noindex) · 2026-11-24
v1.0.0
Identifier: Docker Container Exited with Code 137
Platform: Docker
Interactive Diagnostic Checklist
Safe Diagnostic Command:
docker inspect <container> --format "{{.State.OOMKilled}}"Technical Explanation
Container hit its cgroup memory limit and was killed by the Linux OOM killer. Recommended verified resolution path: Inspect memory usage with `docker stats` and set realistic deploy.resources.limits.memory.
Worked Examples
- Read-only diagnostic command: docker inspect <container> --format "{{.State.OOMKilled}}"
Limitations & Assumptions
- Error codes can arise from multiple layers (client, CDN, reverse proxy, application, or OS). Always confirm which layer emitted the error before applying changes.
Source References & Verification
- RFC 9110 — HTTP Semantics & Official Vendor Documentation
- Linux man-pages / Python / MDN / Docker Official Docs
Resource ID: err-docker-exit-137 · Technical check: 2026-11-24 (noindex pending/withheld from search)