Skip to content

[Feat]: Add support for OCI Artifacts in the user interface #4038

@afbjorklund

Description

@afbjorklund

Is your feature request related to a problem? Please describe.

Currently zot is recommended as the registry for ORAS:

https://oras.land/docs/quickstart

But there is no support for artifacts in the user interface?

It still shows layer "Command", and offers to docker pull

Image
$ docker pull localhost:5000/hello-artifact:v1
v1: Pulling from hello-artifact
unsupported media type application/vnd.oci.empty.v1+json
$ podman pull localhost:5000/hello-artifact:v1
Trying to pull localhost:5000/hello-artifact:v1...
Error: parsing image configuration: unsupported image-specific operation on artifact with type "application/vnd.acme.rocket.config"
$ skopeo copy docker://localhost:5000/hello-artifact:v1
... wall of text ...
FATA[0000] Exactly two arguments expected               

Describe the solution you'd like

It would be more interesting to show the artifact "title".

{
  "schemaVersion": 2,
  "mediaType": "application/vnd.oci.image.manifest.v1+json",
  "artifactType": "application/vnd.acme.rocket.config",
  "config": {
    "mediaType": "application/vnd.oci.empty.v1+json",
    "digest": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",
    "size": 2,
    "data": "e30="
  },
  "layers": [
    {
      "mediaType": "text/plain",
      "digest": "sha256:a948904f2f0f479b8f8197694b30184b0d2ed1c1cd2a1ec0fb85d299a192a447",
      "size": 12,
      "annotations": {
        "org.opencontainers.image.title": "artifact.txt"
      }
    }
  ],
  "annotations": {
    "org.opencontainers.image.created": "2026-05-05T16:40:57Z"
  }
}

And to offer to oras pull, or even to download the artifact.

$ oras pull localhost:5000/hello-artifact:v1
✓ Pulled      artifact.txt                                                                                            12/12  B 100.00%  478µs
  └─ sha256:a948904f2f0f479b8f8197694b30184b0d2ed1c1cd2a1ec0fb85d299a192a447                                                                 
✓ Pulled      application/vnd.oci.image.manifest.v1+json                                                            562/562  B 100.00%   45µs
  └─ sha256:3f41230db4272fb8909e21c431d8e589682e3d743ed47d98e76a3925cff06976                                                                 
Pulled [registry] localhost:5000/hello-artifact:v1
Digest: sha256:3f41230db4272fb8909e21c431d8e589682e3d743ed47d98e76a3925cff06976

i.e. next to the Pull button there could be a Download button...

It could add the digest to the URL as a parameter or anchor?

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or requestrm-externalRoadmap item submitted by non-maintainers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions