Store all the cgroups paths as part of the state. This simplifies entering cgroups and will be useful for

cleanups too in the future.
Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh)
This commit is contained in:
Vishnu Kannan
2014-08-13 06:18:55 +00:00
parent ae08910fde
commit ad16526d7f
8 changed files with 56 additions and 69 deletions
+3
View File
@@ -18,6 +18,9 @@ type State struct {
// Network runtime state.
NetworkState network.NetworkState `json:"network_state,omitempty"`
// Path to all the cgroup dirs.
CgroupPaths []string `json:"cgroup_paths,omitempty"`
}
// The running state of the container.