Created
August 15, 2023 08:37
-
-
Save GamePlayer-8/65a4164971ef632c6f5f06bfbe784f22 to your computer and use it in GitHub Desktop.
Cleanup podman images
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
podman images | grep '<none>' | cut -d '>' -f 3 | cut -d ' ' -f 10 | xargs -I "{}" podman image rm -f "{}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment