Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runc delete: call systemd's reset-failed
runc delete is supposed to remove all the container's artefacts. In case systemd cgroup driver is used, and the systemd unit has failed (e.g. oom-killed), systemd won't remove the unit (that is, unless the "CollectMode: inactive-or-failed" property is set). Call reset-failed from manager.Destroy so the failed unit will be removed during "runc delete". Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
- Loading branch information