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