1

Recently encountered this weird error with a custom image that I build. There is no issue for training and processing job. Just on when I wanted to createmodel.

ClientError: An error occurred (ValidationException) when calling the CreateModel operation: Unsupported manifest media type application/vnd.oci.image.manifest.v1+json for image {image link}. Ensure that valid manifest media type is used for specified image.

Hope that somebody can provide some insight to this problem.

  • My builds are done in the backend using podman hence I suspect that may be the reason – terrygryffindor Oct 28 '22 at 01:40
  • managed to solve it in the end by specifying --format. but I am still curious since I never needed to consider this previously until I reached the create-model – terrygryffindor Oct 28 '22 at 08:28
  • Can you upload some code so we can reproduce the error? I didn't understand if you solved it somehow. Please update the post with all useful information. – Giuseppe La Gualano Oct 29 '22 at 01:27
  • sorry....forgot to update the post. Essentially, I ended up resolving it by, when building the image, to specifically indicate the --format (for podman) to docker. Somehow, the issue is really on the OCI format somehow having some issues with createmodel, which is the default build mode for podman......I will add more details when I have time – terrygryffindor Nov 04 '22 at 10:52
  • @terrygryffindor what did you end up passing to `--format` to make it work? – krasnaya Feb 20 '23 at 00:05
  • --format docker – terrygryffindor Feb 20 '23 at 13:37

0 Answers0