From 34a3c90d57bb8de1c9f90160968ce06b9c54ec8a Mon Sep 17 00:00:00 2001 From: Jernej Kos Date: Wed, 22 Jan 2025 13:41:19 +0100 Subject: [PATCH] rofl-containers: Prune all unused container images on startup --- rofl-containers/src/containers.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rofl-containers/src/containers.rs b/rofl-containers/src/containers.rs index 3bd8276662..41816657bd 100644 --- a/rofl-containers/src/containers.rs +++ b/rofl-containers/src/containers.rs @@ -37,6 +37,7 @@ pub async fn init() -> Result<()> { run_cmd!( podman system migrate; podman system prune --external; + podman image prune --all --force; )?; Ok(())