mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 22:37:14 +08:00
43564a7b55
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>