echo;\
FETCH_SIZE=30;\
IMAGE_NAME=node;\
curl -fsSL "https://registry.hub.docker.com/v2/repositories/library/${IMAGE_NAME}/tags?page_size=${FETCH_SIZE}" \
| jq -r '.results[]|select(.name != null and .name != "" and .name != "unknown")
| {tag: .name, digest: (.digest | sub("^sha256:"; "")[:12]), arch: (.images[0].architecture // "n/a"), sizeMB: ((.full_size / 1048576) | round)}
| [.tag, .digest, .arch, (.sizeMB | tostring + " MB")]| @tsv' | sort -V \
| awk -F'\t' '{printf "%-25s %-14s %-10s %-8s\n", $1, $2, $3, $4}'