You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1c4eef651f65e2f7daee7ee785882ac164b02b78fb74503052a26dc061c90474 is the per-platform amd64 image; a8560b36e8b8210634f77d9f7f9efd7ffa463e380b75e2e74aff4511df3ef88c is the top multi-platform index.
I think listing both in RepoDigests is correct — both are valid ways to refer to that image.
As for the top-level Digest field, well, no promises can structurally be made — images are deduplicated in local storage, so there may be many valid digests that are “the right source” for that image, but the Digest field can only hold one value. The code has some behavior here (it even depends on how you refer to that image!) but we are not, AFAIK, making any explicit promises that we are going to choose one of the possibly many values in any predictable way.
#3761 is relevant to the wider theme that RepoDigests is, sadly, not really reliable either.
Well, in Docker there is only one in RepoDigests and it's similar to registry's one. I mean here more for Docker-Podman compatibility as well. #3761 I think is not related, there is a "correct" digest here in RepoDigests, but it's not in Digest field and it's "one of". It makes problem with detection whether we need to pull the image or not, was it changed in the registry or same.
Issue Description
When pulling same image from same registry with docker and podman, they have a different digest. The docker diges is same as in registry.
Podman has two
"RepoDigests"
and in"Digest"
it has a different one from Docker.Steps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
Podman has two digests in
"RepoDigests"
and one of them is as in Docker, but in"Digest"
field it has a differentsha256
Describe the results you expected
Docker and Podman digests are same
podman info output
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: