podman container prune: Error: container not known

When I run podman container prune, I get

$ podman container prune
WARNING! This will remove all non running containers.
Are you sure you want to continue? [y/N] y
Error: container not known

Same thing if I try to force it with -f

$ podman container prune -f
Error: container not known

What is causing this error and how can I resolve it?

Asked By: Evan Carroll


What I was able to do is rather than prune them, just remove them.

podman container rm -a
Answered By: Evan Carroll
Categories: Answers Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.