FerryDocs
ArchitectureSecurity model

If the host has no more memory

The limits are caps, not reservations. If the host has no more memory, containers stop before ferryd.

Edit on GitHub
OOM killerof the kernelferrydadjustment -500Containersno adjustment

The sum of the limits can be more than the memory of the host. Nothing tests it.

1 / 3

A is a cap. It does not reserve memory. If the host itself has no more memory, the chooses a process to stop among all the processes.

Who goes first

Process adjustment
ferryd, on Linux--oom-score-adj, default -500: the containers go first
git and the docker CLI, which ferryd startsReset to 0. A runaway git does not survive at the cost of apps and databases.
ContainersThey never inherit the score, because Docker starts them.

What to do

Make sure that the limits fit the host. See Resource limits and Production setup.

On this page