Reputation: 2398
I want to get the number of tags/versions of a specific image i tried to use docker inspectimage imagename
without the tag at the end but it takes the latest tag by default. How can I do this?
Upvotes: 1
Views: 350
Reputation: 9402
You can simply do:
docker images repo/imagename
to see all the tags.
docker images repo/imagename -q | wc -l
will give you a count.
Upvotes: 3