Skip to content

podman history: unexpected (incomplete) results #520

@edsantiago

Description

@edsantiago

podman history on a newly-committed image does not actually show any previous history, and what it does show looks odd -- "imported from tarball"?

# podman run --name foo fedora date      (unnecessary output excised for readability)
# podman commit foo bar                              [...]
# podman history bar
ID             CREATED          CREATED BY                                      SIZE      COMMENT
b99450604be5   35 seconds ago   /bin/sh -c #(nop) ADD file:3b79c5864268723...   246.1MB   imported from tarball

Compare to docker:

IMAGE               CREATED             CREATED BY                                      SIZE                COMMENT
c4c4eabe5c8b        11 seconds ago      date                                            0 B                 
9110ae7f579f        12 days ago         /bin/sh -c #(nop) ADD file:108805f10df80924ae   235.2 MB            
<missing>           4 months ago        /bin/sh -c #(nop)  ENV DISTTAG=f27container F   0 B                 
<missing>           4 months ago        /bin/sh -c #(nop)  MAINTAINER [Adam Miller <m   0 B                 

Running podman history fedora lists the missing images, although size differs.

Metadata

Metadata

Labels

locked - please file new issue/PRAssist humans wanting to comment on an old issue or PR with locked comments.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions