Docker Resource Management

Docker process resource limits

Set process resource limits; nofile bounds descriptor count. Nofile is per process; distinguish user-scoped nproc and container task limits.

Formal Syntax & Structure

docker syntaxdocker
--ulimit nofile=SOFT:HARD

Working Example

Example Snippetdocker
--ulimit nofile=256:512
Docker Reference