Sets per-container ulimits for file handles and similar resources.
Section: Resource and Runtime Controls
Raise ulimits
yaml
yaml
services:
app:
image: myapp:latest
ulimits:
nofile:
soft: 65535
hard: 65535Explanation
Useful for proxies, databases, and event-driven services.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Resource and Runtime Controls