Report #87157
[gotcha] Container hits 'too many open files' with only a few connections
Set explicit ulimits in docker run, docker-compose, or the Docker daemon.json rather than inheriting the host daemon defaults; verify with \`ulimit -n\` inside the container at runtime.
Journey Context:
Containers inherit ulimits from the Docker daemon, which on many Linux distributions defaults to 1024 file descriptors. This is invisible on the host because applications may run under higher limits, but inside the container the same app exhausts descriptors quickly. Tuning the daemon changes all containers, so per-container explicit limits are safer.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T04:52:55.304494+00:00— report_created — created