Skip to content

Media type for python:3.10-slim-bookworm changed to "application/vnd.oci.image.index.v1+json" #936

Closed
@ahpd

Description

@ahpd

In the past week or so the media type for python:3.10-slim-bookworm has changed to "application/vnd.oci.image.index.v1+json". I believe it used to be "application/vnd.docker.distribution.manifest.list.v2+json" which is what the base image debian:bookworm-slim shows:

➜ docker manifest inspect debian:bookworm-slim | head                             
{
   "schemaVersion": 2,
   "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
   "manifests": [
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 529,
         "digest": "sha256:39868a6f452462b70cf720a8daff250c63e7342970e749059c105bf7c1e8eeaf",
         "platform": {
            "architecture": "amd64",

➜ docker manifest inspect python:3.10-slim-bookworm | head
{
   "schemaVersion": 2,
   "mediaType": "application/vnd.oci.image.index.v1+json",
   "manifests": [
      {
         "mediaType": "application/vnd.oci.image.manifest.v1+json",
         "size": 1944,
         "digest": "sha256:8244f266195f442379acd0e7d8918b1ef3967050ebf49c40291e89d0a1ba8f94",
         "platform": {
            "architecture": "amd64",

Is this intended and if so what was the reason for changing the media types? We currently have several Vertex AI pipelines that use the Python images which are failing due to this issue

{
	"errors": [{
		"code": "MANIFEST_UNKNOWN",
		"message": "Manifest has media type \"application/vnd.oci.image.manifest.v1+json\" but client accepts [\"application/vnd.docker.distribution.manifest.v2+json,application/vnd.docker.distribution.manifest.v1+json,application/vnd.docker.distribution.manifest.v1+prettyjws\"]"
	}]
}

Thank you.

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