Skip to content

What is rootDirectory for in remote storage configuration? #2676

Answered by andaaron
lesomnus asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @lesomnus, the rootDir needs to be specified in both cases, local storage and 3s storage.
In the local storage case it is a local folder under which images and additional files used internally by zot are stored.
In the s3 storage case it is a local folder where blobs are stored temporarily until the image is fully pushed (for multiple reasons, such as we don't stream multipart uploads directly to S3, also we make sure all blobs in the same image are pushed and valid), after which they are copied over to S3.
Note for using zot as a pull through cache, this will also be the place where blobs are temporarily kept after zot downloads them locally, before uploading them to the final storage…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lesomnus
Comment options

Answer selected by lesomnus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants