Docker — Limit Container Memory Usage
A little container knowledge every day!

A docker host will run several containers, and each container requires CPU, memory and IO resources. For KVM, VMware and other virtualization technologies, users can control how much CPU and memory resources are allocated to each virtual machine.