-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable to export layers from Additional Layer Store
Currently, layers aquired from additional layer store cannot be exported (e.g. `podman save`, `podman push`). This is because the current additional layer store exposes only *extracted view* of layers. Tar is not reproducible so the runtime cannot reproduce the tar archive that has the same diff ID as the original. This commit solves this issue by introducing a new API "`blob`" to the additional layer store. This file exposes the raw contents of that layer. When *(c/storage).layerStore.Diff is called, it acquires the diff contents from this `blob` file which the same digest as the original layer. Signed-off-by: Kohei Tokunaga <[email protected]>
- Loading branch information
Showing
3 changed files
with
100 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters