Respect system or service ulimits when setting the container ulimits
Open
- Dominant language
- Python
- Stars
- 670
- Forks
- 183
- Avg merge
- 17h 7m
- Merged PRs (30d)
- 358
Description
## Summary
When the hard-coded NOFILE limit is larger than the system-wide or service-level configuration, Docker runtime API may return an error saying:
```
error setting rlimits for ready process: error setting rlimit type 7: operation not permitted
```
Let’s make it respect the inherited limit.
JIRA Issue: BA-2115
Contributor guide
Assessment
This issue has not been assessed yet.