-
Notifications
You must be signed in to change notification settings - Fork 807
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
equivalent of docker history #1309
Comments
Thanks for your report. Have you seen https://github.com/containers/podman/blob/master/docs/source/markdown/podman-history.1.md ? Layer sizes are not present in the config; they do exist in the manifest, but right now |
I'm not very familiar with podman. Is it capable of producing the history of an image on a remote registry? Or would I have to pull it first? |
@mtrmac Following up on this. |
Podman does require pulling the image first (parts of the history it includes is matching with other local images to report base images, if known). |
A friendly reminder that this issue had no activity for 30 days. |
@mtrmac can we close this? |
@lsm5 The “provide layer sizes” part is a duplicate of #641. I’m not sure to what extent “equivalent of |
I am very late to the game but think that |
@vrothberg |
@rittneje To report which “this” data exactly are you looking for?
… and that can’t very well be done by Skopeo without access to the “other local images”. |
@mtrmac We are looking for the size and instruction for each layer. We don't need to know the name of the base image specifically. |
A friendly reminder that this issue had no activity for 30 days. |
not stale |
A friendly reminder that this issue had no activity for 30 days. |
not stale |
This would be made possible by WIP containers/image#1608 . |
A friendly reminder that this issue had no activity for 30 days. |
not stale |
A friendly reminder that this issue had no activity for 30 days. |
not stale |
A friendly reminder that this issue had no activity for 30 days. |
not stale |
BTW I was reminded of And layer sizes are available after #1738 . So is there actually more that needs to be done? |
@mtrmac It's pretty inconvenient to have to combine the output from Another problem is that |
That’s fair.
That information just isn’t available, without actually pulling and decompressing the data. |
Ah, that is unfortunate, but we can live it. |
A friendly reminder that this issue had no activity for 30 days. |
I am trying to emulate the
docker history
command via skopeo, to get the instruction and size for each layer. I see I can useskopeo inspect --config
to get the instructions ("created_by"
), but it doesn't include the layer sizes. Would it be possible to add that?The text was updated successfully, but these errors were encountered: