Skip to content

containers-storage: transport doesn't support sha256: prefix #2750

@allisonkarlitskaya

Description

@allisonkarlitskaya

Most interactions with podman (and friends) can refer to a container by an identifier like sha256:417a368e464b22dd60e872395529385d04bfa05b0f8200c7673ff9f98cddd7ee:

  • that's the default output format when you use podman build --iidfile=
  • you can podman run the identifier directly
  • you can use FROM sha256:417a368e464b22dd60e872395529385d04bfa05b0f8200c7673ff9f98cddd7ee in a Containerfile
  • buildah also accepts this format for commands on its cli

Unfortunately this doesn't work with skopeo's containers-storage: transport: you need to strip the sha256: first. This is also a problem when using containers/containers-image-proxy-rs.

So simple ask: make it possible to do skopeo copy or an OpenImage on the proxy via a name starting with containers-storage:sha256:.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions