Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.11.0: unsupported manifest media type and no default available: application/vnd.oci.image.manifest.v1+json #3491

Closed
nvhoc opened this issue Jan 11, 2023 · 2 comments

Comments

@nvhoc
Copy link

nvhoc commented Jan 11, 2023

Environment:

  • GitHub Action
  • Job wrapped by container "node:16.18.0-alpine"
  • Docker version: 20.10.20
  • moby/buildkit:v0.11.0
  • Run Docker in Docker to push a new version

Issue:

When pushing new tag, it creates 3 tags to ECR:
image

When I try to inspect its manifest

docker manifest inspect ${AWS_ACCOUNT_ID}.dkr.ecr.ap-southeast-2.amazonaws.com/server:${TAG}

I got a message:

unsupported manifest media type and no default available: application/vnd.oci.image.manifest.v1+json

My temporary solution:

  • Move back moby/buildkit:v.10.5, the job now is working normal
@nvhoc nvhoc changed the title unsupported manifest media type and no default available: application/vnd.oci.image.manifest.v1+json v0.11: unsupported manifest media type and no default available: application/vnd.oci.image.manifest.v1+json Jan 11, 2023
@nvhoc nvhoc changed the title v0.11: unsupported manifest media type and no default available: application/vnd.oci.image.manifest.v1+json v0.11.0: unsupported manifest media type and no default available: application/vnd.oci.image.manifest.v1+json Jan 11, 2023
@dongho-jung
Copy link

docker/build-push-action#755

@jedevc
Copy link
Member

jedevc commented Jan 11, 2023

This looks to be the same issue as docker/buildx#1509 👀

It looks like the docker manifest doesn't support OCI indexes - which ideally, it should.

Here's a couple things you might try in the meantime.

  • Use docker buildx imagetools inspect instead of docker manifest inspect --raw - it should work similarly, and supports all the different media types in the registry.
  • Set oci-mediatypes=false in your --output flag (to use the docker distribution manifest list instead of an OCI index)
  • Set --provenance=false to not generate the provenance (which is what causes the multi-platform index to be generated, even for a single platform).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants