Skip to content

changed a short name of image to full name#373

Merged
rhatdan merged 1 commit intocontainers:mainfrom
imyaman:main
Mar 11, 2025
Merged

changed a short name of image to full name#373
rhatdan merged 1 commit intocontainers:mainfrom
imyaman:main

Conversation

@imyaman
Copy link
Contributor

@imyaman imyaman commented Feb 25, 2025

Before downloading the image, only full name work.

Before downloading the image, only full name work.

Signed-off-by: Sangyong Gwak <imyaman@netscape.net>
@baude
Copy link
Member

baude commented Feb 25, 2025

I don't necessarily object to this PR but even the name you provided is not full. It should have a :tag to be full imho. Also, for me, podman pull alpine works because a short name is available. What distribution are you hitting this with?

@imyaman
Copy link
Contributor Author

imyaman commented Feb 25, 2025

FreeBSD 14.2, amd64.

When I ran podman pull alpine, I got the following error:

# podman pull alpine
Error: short-name "alpine" did not resolve to an alias and no unqualified-search registries are defined in "/usr/local/etc/containers/registries.conf"

Adding unqualified-search-registries = ["docker.io"] to /usr/local/etc/containers/registries.conf resolved the issue.

@baude
Copy link
Member

baude commented Feb 25, 2025

how about amending your PR with an "If this happens to you ... "

@TomSweeneyRedHat
Copy link
Member

Changes LGTM, will wait to see if there's further discussion/changes inbound.

Copy link
Member

@Luap99 Luap99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, using full names overall seems like a very good idea.

@rhatdan rhatdan merged commit 47c7c5e into containers:main Mar 11, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants