List all images with a special tag in IBM Cloud

I want to list all images that have v1 tag. I used the following command

ibmcloud cr images 

but, this command list all images.

>Solution :

You can use the filter and formatting feature:

ibmcloud cr image-list --format "{{ if eq .Tag \"v1\" }}{{ .Repository }}:{{ .Tag }}{{end}}"

Leave a Reply