Project

Profile

Help

Story #3401

Updated by bizhang over 6 years ago

Manifest ImageManifest    should contain the following fields: 

 * digest: CharField(255) 
 * schema_version: IntegerField() 
 * config_layer: ForeignKey to Layer Blob 
 * layers: ManyToManyField('Layer', through='ManifestLayer') ManyToManyField('Blob', through='ImageManifestLayer') 

 ManifestLayer ImageManifestLayer is used to model the relationship between Manifests ImageManifests and Blobs 

 * blob: ForeignKey to Layer Blob 
 * manifest: imagemanifest: ForeignKey to Image Manifest 
 * mediaType: ChoiceField()  


 MediaType Choices: 

 * application/vnd.docker.distribution.manifest.v1+json 
 * application/vnd.docker.distribution.manifest.v2+json 

Back