Class V22ManifestTemplate

  • All Implemented Interfaces:
    BuildableManifestTemplate, ManifestTemplate, JsonTemplate

    public class V22ManifestTemplate
    extends java.lang.Object
    implements BuildableManifestTemplate
    JSON Template for Docker Manifest Schema V2.2

    Example manifest JSON:

    
     {
       "schemaVersion": 2,
       "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
       "config": {
         "mediaType": "application/vnd.docker.container.image.v1+json",
         "size": 631,
         "digest": "sha256:26b84ca5b9050d32e68f66ad0f3e2bbcd247198a6e6e09a7effddf126eb8d873"
       },
       "layers": [
         {
           "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
           "size": 1991435,
           "digest": "sha256:b56ae66c29370df48e7377c8f9baa744a3958058a766793f821dadcb144a4647"
         },
         {
           "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
           "size": 32,
           "digest": "sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4"
         }
       ]
     }
     
    See Also:
    Image Manifest Version 2, Schema 2