forked from cockpit-project/cockpit-podman
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Our previous approach of `restore_dir("/var/lib/containers")` and the find/unmount/kill hacks around it keep causing trouble, see cockpit-project#1591. Give up on this, and move to a model that centers around `podman system reset`. This works reasaonably well except for that being slow (podman#21874) and leaking conmon (TODO). Keep these hacks. Load our static test images with `podman save/load` instead. Also factorize system and user cleanup, so that we do the same thing on both. Fixes cockpit-project#1591
- Loading branch information
1 parent
e6b5b15
commit b571a27
Showing
3 changed files
with
32 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters