docs/daemon/execdriver/native
Phil Estes 9e9d227677 Initialize swappiness in libcontainer cgroups template
By default, the cgroup setting in libcontainer's configs.Cgroup for
memory swappiness will default to 0, which is a valid choice for memory
swappiness, but that means by default every container's memory
swappiness will be set to zero instead of the default 60, which is
probably not what users are expecting.

When the swappiness UI PR comes into Docker, there will be docker run
controls to set this per container, but for now we want to make sure
*not* to change the default, as well as work around an older kernel
issue that refuses to allow it to be set when cgroup hiearchies are in
use.

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
2015-06-18 19:27:04 -04:00
..
template Initialize swappiness in libcontainer cgroups template 2015-06-18 19:27:04 -04:00
create.go Fix network with -b none 2015-05-24 08:26:59 -07:00
driver.go Remove useless debug message 2015-06-01 11:15:15 -07:00
driver_unsupported.go update go import path and libcontainer 2014-07-24 22:19:50 +00:00
driver_unsupported_nocgo.go update go import path and libcontainer 2014-07-24 22:19:50 +00:00
exec.go Revert "Add docker exec run a command in privileged mode" 2015-05-26 14:12:16 -07:00
info.go Execdriver implementation on new libcontainer API 2015-03-06 14:46:58 -08:00
init.go Update libcontainer and make it the source of truth on logrus version 2015-05-04 11:02:44 -06:00