swappiness property
This allows you to tune a container's memory swappiness behavior. A
swappiness
value of 0
will cause swapping to not
happen unless absolutely necessary. A swappiness
value of
100
will cause pages to be swapped very aggressively. Accepted
values are whole numbers between 0
and 100
. If the
swappiness
parameter is not specified, a default value of
60
is used. If a value is not specified for
maxSwap
then this parameter is ignored. This parameter maps to
the --memory-swappiness
option to docker
run.
Implementation
final int? swappiness;