Skip to content

Clarify image index usage with same-platform manifests #776

@hendrikhalkow

Description

@hendrikhalkow

I think the image index needs a bit more clarification on how an image is intended to be processed by a runtime spec when there are multiple manifests within one image. While it is clear what is meant when there is exactly one manifest within an image or two manifests for different platform or architectures within an image, it is unclear when there are manifests for the same platform and architecture within an image. As of now, it is not forbidden.

Is it intended that there is no restriction of having multiple manifests for the same architecture and platform within an image?

Or, is it up to the runtime-spec implementation on how to handle situations like this, e.g. by adding some annotation-based selector like

podman run --select org.opencontainers.image.ref.name=myref myimage:latest

or a sub-image dressing scheme like podman run myimage:latest/myref ?

Even if this is intentional, there should be a few more sentences in the image index spec on how to handle this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions