Docker Image history without using docker history command

4/4/2020

I have a docker image. I want to analyze the docker image history, for this I can use docker image history command in the docker installed environment.

But when am working in a Openshift cluster, I may not have the access to the docker command here. So here I want get the docker history command result for the given image.

So basically I have a docker image and I don't have docker installed there. In this case how can we get the history of that docker image?

Can anyone please help me on this?

-- Abdul
docker
kubernetes
openshift

1 Answer

4/4/2020

You can get the registry info either via curl or skopeo inspect. But the rest of the metadata is stored inside the image itself so you do have to download at least the final layer.

-- coderanger
Source: StackOverflow