Skip to content

Questions about naming of pulled images #1139

Closed
@mtrmac

Description

@mtrmac

(From #1112.)

AFAICT the outcome of #1085, apart from pulling the right image, which is clearly correct, is that pulled name@sha256:digest images are named in the storage as name:none (where none is an actual tag string, not “missing”, and the digest not recorded). (I can now confidently refactor the code to do this inside the imageParts abstraction without breaking anything, but that exposes how irregular the code doing this is.)

  • Is using the explicit none tag Is that intentional? If so, why is it necessary?
  • Is dropping the digest and not recording it in the storage intentional? If so, why is it necessary? (Looking at Image.RepoDigests, it forms a series of name@digest values, all with the same Image.image.Digest value — but a single image (single image ID == config digest) can exist with multiple different manifest digests. Shouldn’t the original values be recorded when pulling, and reproduced in RepoDigests in podman inspect?)

Everyone has been deferring this to @baude .

Metadata

Metadata

Assignees

No one assigned

    Labels

    locked - please file new issue/PRAssist humans wanting to comment on an old issue or PR with locked comments.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions