Docker is an open-source project that automates the deployment of applications inside software containers on Linux operating system. It uses Linux kernel, LXC (Linux Containers) and systemd-nspawn. From the project page:
By default, a container has no resource constraints and can use as much of a given resource as the host’s kernel scheduler will allow. Docker provides ways to control how much memory, CPU, or block IO a container can use, setting runtime configuration flags of the docker run command. This section provides details on when you should set such limits and the possible implications of setting them.
This guide covers CPU and memory resources limits that you can place on your Docker containers.
- Read more:Limit a container’s resources