Skip to content

podman-remote: images --format : missing .Tag #7123

@edsantiago

Description

@edsantiago

Save an image archive (by SHA, not by name). Reload it. podman-remote images will not show <none> for the tag.

In window 1:

$ ./bin/podman system service --timeout=0

In window 2:

$ ./bin/podman pull alpine
...
$ ./bin/podman save -o /tmp/alpine.tar a24bb401
$ ./bin/podman rmi alpine
Untagged: docker.io/library/alpine:latest
Deleted: a24bb4013296f61e89ba57005a7b3e52274d8edd3ae2077d04395f806b63d83e

$ ./bin/podman-remote load -i /tmp/alpine.tar
Loaded image(s): @a24bb4013296f61e89ba57005a7b3e52274d8edd3ae2077d04395f806b63d83e

$ ./bin/podman-remote images
REPOSITORY                    TAG     IMAGE ID      CREATED        SIZE
<none>                        <none>  a24bb4013296  8 weeks ago    5.85 MB
                              ^^^^^^ this is good

$ ./bin/podman-remote images -a --format '{{.ID}} {{.Repository}}:{{.Tag}}'
a24bb4013296 <none>:  <--- missing <none>

$ ./bin/podman  images -a --format '{{.ID}} {{.Repository}}:{{.Tag}}'
a24bb4013296 <none>:<none>        <--- this is correct, via non-remote podman

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.locked - please file new issue/PRAssist humans wanting to comment on an old issue or PR with locked comments.remoteProblem is in podman-remote

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions