Actions
Task #2922
closedIdea #2879: Crunch uses Docker images stored in Keep, and records Keep locators used for Jobs
Investigate interaction between Docker image metadata and docker export
Description
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ā¦
Updated by Brett Smith over 10 years ago
- Subject changed from Investigate interaction between Docker tags and docker export to Investigate interaction between Docker image metadata and docker export
Updated by Brett Smith over 10 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.
Actions