wiki/notebook/assets/cli.podman/fzf-podman-image-rm
2022-11-23 17:56:44 +08:00

6 lines
195 B
Bash
Executable File

#!/usr/bin/env bash
podman image list --format "{{.ID}} {{.Repository}} {{.Tag}}" \
| fzf --multi --prompt "Choose images to remove > " \
| awk '{print $1}' \
| xargs podman image rm