1

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?

mirekphd
  • 4,799
  • 3
  • 38
  • 59
Beppe C
  • 11,256
  • 2
  • 19
  • 41

2 Answers2

2

Use the docker-daemon repository type:

skopeo inspect docker-daemon:myimage:0.0.7
10 cls
  • 1,325
  • 2
  • 17
  • 31
1

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

skopeo inspect containers-storage:localhost/myimg
rustyMagnet
  • 3,479
  • 1
  • 31
  • 41
khoshahmad
  • 35
  • 5
  • 1
    I finally managed to try your suggestion, thanks for taking the time. I do however get an error: `FATA[0000] Error parsing image name "containers-storage:repo/image:v1": chown /Users/userxxx/.local/share/containers/storage/vfs: operation not permitted` – Beppe C Mar 23 '21 at 12:22