Report #14832
[bug\_fix] process "/bin/sh -c apt-get update" did not complete successfully: exit code: 137
Increase the memory allocated to the Docker daemon or the build process \(e.g., \`docker build --memory 4g\` or adjusting Docker Desktop resources\).
Journey Context:
A developer's build is failing intermittently during \`apt-get update\` or \`npm install\` with exit code 137. They search the error code and learn 137 = 128 \+ 9 \(SIGKILL\), typically indicating an Out-Of-Memory \(OOM\) kill by the OS. They check Docker Desktop's resource allocation and see the VM is limited to 2GB RAM. The dependency resolution process peaks above this limit, causing the kernel to kill the process. Increasing the memory allocation to 4GB or adding \`--memory 4g\` to the build command provides enough headroom for the process to complete successfully.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T22:28:39.712138+00:00— report_created — created