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 images) does not handle digested references correctly #2175

Closed
mtrmac opened this issue Jan 17, 2019 · 1 comment

Comments

Projects
None yet
4 participants
@mtrmac
Copy link
Collaborator

commented Jan 17, 2019

/kind bug

Description

podman images does not show digested references correctly

Steps to reproduce the issue:

$ sudo ./podman pull docker.io/busybox@sha256:bbb143159af9eabdf45511fd5aab4fd2475d4c0e7fd4a5e154b98e838488e510
$ sudo ./podman images

Describe the results you received:

REPOSITORY                         TAG …
docker.io/library/busybox@sha256   bbb143159af9eabdf45511fd5aab4fd2475d4c0e7fd4a5e154b98e838488e510 …

Describe the results you expected:

REPOSITORY                         TAG …
docker.io/library/busybox          @sha256:bbb143159af9eabdf45511fd5aab4fd2475d4c0e7fd4a5e154b98e838488e510   3a093384ac30 …

or maybe <none> instead of a tag if no tag is known.

Additional information you deem important (e.g. issue happens only occasionally):

ReposToMap should be using reference.ParseNormalizeNamed, like #2106.

Output of podman version:

Version:       1.0.1-dev
Go Version:    go1.10.7
Git Commit:    "0e3264ae4de85d2c974106582f80fd8cadab8bb8"
Built:         Thu Jan 17 15:17:44 2019
OS/Arch:       linux/amd64
@rhatdan

This comment has been minimized.

Copy link
Member

commented Jan 17, 2019

We should match Docker's output.

baude added a commit to baude/libpod that referenced this issue Feb 13, 2019

Parse fq name correctly for images
When parsing a string name for repo and tag (for images output), we
should be using parsenormalizedname and reference.Canonical to
get the proper output.

Resolves: containers#2175

Signed-off-by: baude <bbaude@redhat.com>

baude added a commit to baude/libpod that referenced this issue Feb 13, 2019

Parse fq name correctly for images
When parsing a string name for repo and tag (for images output), we
should be using parsenormalizedname and reference.Canonical to
get the proper output.

Resolves: containers#2175

Signed-off-by: baude <bbaude@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.