Pushing an App with a Docker image fails with "unsupported schema version 2"
search cancel

Pushing an App with a Docker image fails with "unsupported schema version 2"

book

Article ID: 298394

calendar_today

Updated On:

Products

VMware Tanzu Application Service for VMs

Issue/Introduction

When attempting to push an app with the docker manifest containing “(mediaType: application/vnd.oci.image.manifest.v1+json” , it fails with:

 

   2023-10-19T13:37:01.57-0400 [STG/0] OUT Staging...
   2023-10-19T13:37:01.72-0400 [STG/0] OUT Staging process started ...
   2023-10-19T13:37:03.01-0400 [STG/0] ERR Staging process failed: Exit trace for group:
   2023-10-19T13:37:03.01-0400 [STG/0] ERR builder exited with error: failed to fetch metadata from [keycloak/keycloak] with tag [latest] and insecure registries [] due to unsupported schema version 2
   2023-10-19T13:37:03.04-0400 [STG/0] OUT Exit status 2
   2023-10-19T13:37:03.04-0400 [STG/0] ERR Staging Failed: STG: Exited with status 2

 


Environment

Product Version: 2.13

Resolution

Currently Diego does not support V2 schemas. This issue is being looked by R&D currently as a feature request. 

This article will be updated in future if V2 schemas become supported.