mirror of https://github.com/docker/docs.git
It may happen that host system settings are changed while the daemon is running. This will cause errors at libcontainer level when starting a container with a particular hostConfig (e.g. hostConfig with memory swappiness but the memory cgroup was umounted). This patch adds an hostConfig check on container start to prevent the daemon from even calling libcontainer with the wrong configuration as we're already doing on container's creation). Signed-off-by: Antonio Murdaca <runcom@linux.com> (cherry picked from commit 0d2628cdf19783106ae8723f51fae0a7c7f361c6) |
||
---|---|---|
.. | ||
fixtures | ||
compare.go | ||
compare_test.go | ||
config.go | ||
config_test.go | ||
exec.go | ||
exec_test.go | ||
hostconfig.go | ||
hostconfig_test.go | ||
hostconfig_unix.go | ||
hostconfig_windows.go | ||
merge.go | ||
merge_test.go | ||
parse.go | ||
parse_experimental.go | ||
parse_stub.go | ||
parse_test.go | ||
parse_unix.go | ||
parse_windows.go |