'Inspect local image with Skopeo

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?



Solution 1:[1]

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

skopeo inspect containers-storage:localhost/myimg

Solution 2:[2]

You can inspect a local image by its name or ID with podman:

podman image inspect localhost/${IMAGE_NAME_OR_ID} 

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 rustyMagnet
Solution 2 giulianopz