Story #2879: Crunch uses Docker images stored in Keep, and records Keep locators used for Jobs
Investigate interaction between Docker image metadata and docker export
Are tags saved in the .tar somehow? Or is there some other clear way to save that metadata?
We could just put it in the same Keep collection in a separate file…
#2 Updated by Brett Smith over 5 years ago
- Status changed from New to Resolved
- Remaining (hours) changed from 1.0 to 0.0
The tar files created by
docker save look like this:
LAYER_HASH/VERSION # I think this is an image format version. We don't need it. LAYER_HASH/json # Includes build and configuration details about the image. LAYER_HASH/layer.tar # Filesystem contents for this layer [repeated for every layer in the image] repositories # JSON that maps Docker repository+tag pairs to image hashes
In other words, all the metadata we're interested in can be read out of the repositories file.