Files
docker-cli/components/engine/runconfig
Antonio Murdaca 04959972e4 Add hostConfig check before starting a container
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)
Upstream-commit: 4177b0bae04bb41dfff65ea87b2efb87811e08e6
Component: engine
2015-08-06 15:46:10 -07:00
..
2015-05-29 22:38:09 +02:00
2015-07-27 21:23:15 +02:00
2015-07-12 19:16:38 +02:00
2015-07-27 21:23:15 +02:00
2015-07-12 19:16:38 +02:00
2015-07-27 21:23:15 +02:00
2015-07-27 21:23:15 +02:00
2015-07-27 21:23:15 +02:00
2015-07-27 21:23:15 +02:00
2015-07-27 21:23:15 +02:00