Merge pull request #648 from mrunalp/cgroups_delegate
Set Delegate to true for cgroups transient units
This commit is contained in:
commit
53ca128353
|
@ -193,6 +193,8 @@ func (m *Manager) Apply(pid int) error {
|
|||
systemdDbus.PropSlice(slice),
|
||||
systemdDbus.PropDescription("docker container "+c.Name),
|
||||
newProp("PIDs", []uint32{uint32(pid)}),
|
||||
// This is only supported on systemd versions 218 and above.
|
||||
newProp("Delegate", true),
|
||||
)
|
||||
|
||||
// Always enable accounting, this gets us the same behaviour as the fs implementation,
|
||||
|
|
Loading…
Reference in New Issue