spiegel_podman/cmd
Matt Heon d837bf68a6 Fix podman system reset with external containers
It looks like we had some logic for this from #10789 but it does
not appear to have ever worked; we can't pull external containers
out of the DB, so the ContainerRm call failed unconditionally.

Instead, just handle them in Libpod when we're removing images.
We're removing every image, so setting Force when removing images
should get rid of all external containers. It's a little later in
the process than the current (nonfunctional) solution is but I
can't think of a reason why that would be bad.

[NO NEW TESTS NEEDED] We do not currently test `system reset`.
We should probably reevaluate that at some point this year.

Fixes https://issues.redhat.com/browse/RHEL-21261

Signed-off-by: Matt Heon <mheon@redhat.com>
2024-01-15 08:24:08 -05:00
..
podman Fix podman system reset with external containers 2024-01-15 08:24:08 -05:00
podman-mac-helper man pages and command help: clean up descriptions 2023-05-28 18:57:43 +02:00
podman-wslkerninst source code comments and docs: fix typos, language, Markdown layout 2023-05-22 07:52:16 +02:00
quadlet Quadlet - Allow using symlink on the base search paths 2023-11-15 09:58:28 +02:00
rootlessport use libnetwork/slirp4netns from c/common 2023-06-22 11:16:13 +02:00
winpath Fix spelling "setup" -> "set up" and similar 2022-06-22 18:39:21 +02:00