-
Notifications
You must be signed in to change notification settings - Fork 139
Fix docs to focus more on eStargz #189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
docs/stargz-estargz.md
Outdated
| However current OCI Image Spec uses tar and tar.gz archive formats for archiving layers, which don't suit to this use-case because of the following reasons, | ||
| When lazily pulling an image from the registry, necessary chunks of its layers are fetched *on-demand* during running the container, instead of downloading the entire contents of that image at once. | ||
| For achieving this, runtimes need to *selectively* fetch and extract files contents in the layer. | ||
| However current OCI/Docker Image Spec uses tar (optionally with compression) for archiving layers, which doesn't suit to this use-case because of the following reasons, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
However -> However,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed this.
docs/stargz-estargz.md
Outdated
| Corresponding to the chunks after 2nd, TOCEntries typed `chunk` MUST be contained. | ||
| `chunk`-typed TOCEntry must set offset, chunkOffset and chunkSize properties. | ||
|
|
||
| - **`size`** *int64* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this uint64?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed this. The implementation will be following-up PRs.
docs/stargz-estargz.md
Outdated
|
|
||
| This OPTIONAL property contains the permission and mode bits. | ||
|
|
||
| - **`uid`** *int* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uint
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed this. The implementation will be following-up PRs.
docs/stargz-estargz.md
Outdated
| 22 bytes Extra field (fmt.Sprintf("%016xSTARGZ", offsetOfTOC)) | ||
| 5 bytes flate header | ||
| 8 bytes gzip footer | ||
| (End of the eStargz blob) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this section about plain stargz or eStargz?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed the footer section to make it compliant to Extra field in RFC 1952 (thus eStargz's footer).
The implementation will be the following-up PR.
3518c81 to
9aa303c
Compare
docs/stargz-estargz.md
Outdated
| (End of eStargz) | ||
| ``` | ||
|
|
||
| *NOTE that though eStarz is compatible to tar.gz, it's not compatible to stargz by Google CRFS.* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs full explanation. The footer differs (for RFC compliance) but TOC is compatible, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Added Notes on compatibility with stargz subsection for explaining this.
This includes the following changes - fixing the docs to focus on eStargz - updating the benchmark result to the recent one - fixing README to make each sentence start from the new line Signed-off-by: Kohei Tokunaga <[email protected]>
#184
This includes the following changes