Inspect local image with Skopeo

4.7k Views Asked by At

I am able to inspect remote images using Skopeo

skopeo inspect docker://{registry}/{repository}:latest

but I cannot figure out how to run the same on a local image (same as I would do with docker inspect).
Is that possible?

2

There are 2 best solutions below

0
10 cls On BEST ANSWER

Use the docker-daemon repository type:

skopeo inspect docker-daemon:myimage:0.0.7
1
khoshahmad On

Try skopeo inspect containers-storage:<repository/image name> for example:

skopeo inspect containers-storage:localhost/myimg