how to list all docker images info on OpenShift

Viewed 2024

I try to list all docker images info on OpenShift , like command docker images result, What is the right way to do this?

#oc get images

2 Answers

oc get imagestreams but note that TAGS is a comma delimited set

If your question is about how to list all the images that are running inside a cluster, then the command is this one:

oc get pods -A -o jsonpath="{..image}" | tr -s '[[:space:]]' '\n' | sort | uniq
Related