Project

Profile

Help

Story #3401

Updated by bizhang over 6 years ago

ImageManifest    should contain the following fields: 

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

 ImageManifestLayer is used to model the relationship between ImageManifests and Blobs 

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


 MediaType Choices: 

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

 TextField()

Back