Skip to content

Commit

Permalink
rofl-containers: Prune all unused container images on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
kostko committed Jan 22, 2025
1 parent 142a792 commit 613644d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rofl-containers/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rofl-containers"
version = "0.3.1"
version = "0.3.2"
edition = "2021"

[dependencies]
Expand Down
1 change: 1 addition & 0 deletions rofl-containers/src/containers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ pub async fn init() -> Result<()> {
run_cmd!(
podman system migrate;
podman system prune --external;
podman image prune --all --force;
)?;

Ok(())
Expand Down

0 comments on commit 613644d

Please sign in to comment.