Commit 2fdb879a authored by Martin Peres's avatar Martin Peres
Browse files

initscript/container_cleanup: rm the containers, not just prune them

If a container failed to start/stop, they cannot be pruned. Let's just
remove all the containers in cleanup since none are useful at this
point,
parent ca132f40
......@@ -343,7 +343,7 @@ function container_cleanup {
# This should be a noop, but I would rather be safe than sorry :)
podman container stop -a
podman umount -a -f
podman container prune -f
podman container rm -fa
# Remove all the dangling images
podman image prune -f
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment