wiki/notebook/assets/cli.podman/fzf-podman-container-rm

6 lines
193 B
Plaintext
Raw Normal View History

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