New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error inspecting local manifest-lists #2374
Comments
|
I’m afraid this is expected. The That package might allow consuming the data in non-Podman processes, I’m not sure. Note that c/common explicitly doesn’t have a stable API promise. |
Thanks for the quick response. Ultimately we're trying to do something similar to containers/skopeo#1554, is that issue not feasible for the same reason as this issue? |
I think the two are orthogonal. Also containers/skopeo#1554 is “only” about displaying information mostly known to the Go data structures; so if you are already writing Go, that data should be readily available if |
Oh neat thanks for the information. Yeah we're mostly working with Go so I'll explore that |
We managed to do this by using querying the store and calling |
I am having difficulty inspecting a container from a local manifest list using both
skopeo
and thecontainers/image
go library.This could well be a user error and expected behaviour but I've gone through the open issues and docs to try find the answer and it's unclear. I have tried with both
rootful
androotless
podman.Steps to reproduce:
The contents of the Containerfile:
And here is the images list:
When I try inspect using skopeo, I get the following error:
I get a similar enough result running with the library in go, I have a small reproducer here:
https://github.com/kingsleyzissou/playground/blob/963a8f8a641842efef8144572945d50cdfa93c7a/main.go
And here is the output for the manifest id from
storage/overlay/images.json
:Am I missing any steps? Or is this expected behaviour?
The text was updated successfully, but these errors were encountered: