Docker Resources Management Concepts
From NovaOrdis Knowledge Base
The docker runtime will kill a process that it is attempting to exceed the resource limits, such as memory specified with -m.
The resource usage statistics for running containers can be displayed with:
CPU Quota Constraint
User Memory Constraints
- Docker switches (-m, -memory and -memory-swap) instruct the Linux kernel to kill the process running inside a container if it tries to exceed the specified limit.