#!/bin/sh -e

set -x

podman image ls "$@" --format json \
  | jq -r '.[] | (try .Names[] // .Id)' | sort -u

set +x 2>/dev/null
