#!/bin/bash for i in $(podman images -q -f dangling=true) ; do podman rmi $i done