Skip to content
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

podman history: missing image ID #980

Closed
edsantiago opened this issue Jun 21, 2018 · 7 comments
Closed

podman history: missing image ID #980

edsantiago opened this issue Jun 21, 2018 · 7 comments
Assignees
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@edsantiago
Copy link
Member

Related to #520

podman history is much better but still incomplete:

# podman run --name foo fedora true; podman commit -q foo bar
df35ed4765f1ad76214ad4163a63d9a6cc7121b154d7d00d73dcd755723243f0
# podman history bar
ID             CREATED         CREATED BY                                      SIZE      COMMENT
df35ed4765f1   5 seconds ago                                                   2.56kB    
<missing>      6 weeks ago     /bin/sh -c #(nop) ADD file:a09c7346f23d88d...   262.7MB   
<missing>      7 months ago    /bin/sh -c #(nop) ENV DISTTAG=f28container...   0B        
<missing>      7 months ago    /bin/sh -c #(nop) MAINTAINER [Adam Miller ...   0B        

Note the second line; I was expecting to see cc510acfcd70 (fedora) for image ID. Compare to docker:

# docker run --name foo fedora true;docker commit foo bar
sha256:946077a10f81d6e9620816d47bcb236305be391f0b13304822d928e2f05aa498
# docker history bar
IMAGE               CREATED             CREATED BY                                      SIZE                COMMENT
946077a10f81        15 seconds ago      true                                            0 B                 
cc510acfcd70        6 weeks ago         /bin/sh -c #(nop) ADD file:a09c7346f23d88d...   253 MB              
<missing>           7 months ago        /bin/sh -c #(nop)  ENV DISTTAG=f28containe...   0 B                 
<missing>           7 months ago        /bin/sh -c #(nop)  MAINTAINER [Adam Miller...   0 B        

podman-0.6.3-1.gitcd39b62.fc28

@rhatdan
Copy link
Member

rhatdan commented Jun 21, 2018

@umohnani8 PTAL

@umohnani8
Copy link
Member

Fixed in #982

@edsantiago
Copy link
Member Author

Back in podman-1.3.1-1.git7210727.fc29 and .fc30

@edsantiago edsantiago reopened this May 18, 2019
@rhatdan
Copy link
Member

rhatdan commented May 18, 2019

Crap, do we have a test for this in the unit tests?
@umohnani8 PTAL

@baude
Copy link
Member

baude commented May 29, 2019

@jwhonce can PTAL and add a test to stop regressions ?

@edsantiago
Copy link
Member Author

ping, this is still broken in 1.4.0 on both f29 and f30

@edsantiago
Copy link
Member Author

Closing, because the podman 1.4 failure looks like a new one.

@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 24, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

No branches or pull requests

5 participants