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
Closed

(podman images) does not handle digested references correctly #2175

mtrmac opened this issue Jan 17, 2019 · 1 comment
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@mtrmac
Copy link
Collaborator

mtrmac 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
@openshift-ci-robot openshift-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Jan 17, 2019
@rhatdan
Copy link
Member

rhatdan commented Jan 17, 2019

We should match Docker's output.

baude added a commit to baude/podman that referenced this issue Feb 13, 2019
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/podman that referenced this issue Feb 13, 2019
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>
@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
kind/bug Categorizes issue or PR as related to a bug. 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

4 participants