-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Image name different between podman versions after pulling from docker-daemon:// location #10998
Labels
In Progress
This issue is actively being worked by the assignee, please do not work on this at this time.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Comments
@vrothberg PTAL. I believe the behavior should end up with an image named. docker.io/library/myimage Since this is what it is named in docker.io. localhost/myimage indicates the image was created locally and does not have a default registry. podman build images have this name. |
vrothberg
added
the
In Progress
This issue is actively being worked by the assignee, please do not work on this at this time.
label
Jul 21, 2021
Thanks for reaching out! I'll take a look. |
vrothberg
added a commit
to vrothberg/common
that referenced
this issue
Jul 21, 2021
Normalize images pulled from the docker-daemon transport to docker.io and not to localhost. That preserves previous behavior of Podman. Also fix a parsing bug in the pull code that was revealed while testing the changes; parsing errors should be returned if there is a matching transport without falling through to pulling the input string as an image from a registry. Context: containers/podman/issues/10998 Signed-off-by: Valentin Rothberg <[email protected]>
vrothberg
added a commit
to vrothberg/common
that referenced
this issue
Jul 21, 2021
Normalize images pulled from the docker-daemon transport to docker.io and not to localhost. That preserves previous behavior of Podman. Also fix a parsing bug in the pull code that was revealed while testing the changes; parsing errors should be returned if there is a matching transport without falling through to pulling the input string as an image from a registry. Context: containers/podman/issues/10998 Signed-off-by: Valentin Rothberg <[email protected]>
I opened containers/common#685 to fix it. |
vrothberg
added a commit
to vrothberg/libpod
that referenced
this issue
Jul 26, 2021
By proxy by vendoring containers/common. Previously, a "dangling" image was an untagged image; just a described in the Docker docs. The definition of dangling has now been refined to an untagged image without children to be compatible with Docker. Further update a redundant image-prune test. Fixes: containers#10998 Fixes: containers#10832 Signed-off-by: Valentin Rothberg <[email protected]>
10 tasks
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 21, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
In Progress
This issue is actively being worked by the assignee, please do not work on this at this time.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Podman version: 3.2.2
Previously, when pulling an image from the Docker image storage, the image in Podman would then be prefixed with
docker.io/library
.eg.
podman pull docker-daemon:myimage
->
podman images
hasdocker.io/library/myimage
But now, the image is prefixed with
localhost
.eg.
podman pull docker-daemon:myimage
->
podman images
haslocahost/myimage
This is a good change, this behaviour makes a lot more sense. But I do not see it in the release notes.
I know this was changed sometime between versions 3.1.2 and 3.2.2 so I am assuming it was changed in the minor release 3.2.0.
But, since we now have to read the podman version to determine how the image will be tagged after pulling, we have to know the exact version that introduced the new behaviour.
Does anyone know in which version of Podman this change was introduced?
re: redhat-actions/push-to-registry#42 (comment)
The text was updated successfully, but these errors were encountered: