-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Oras does not read re-archived docker TAR files correctly #851
Comments
The read-only OCI store fails to read the OCI layout structure in the tar archive with paths like this:
Currently it can only recognize path like this:
We should improve the implementation of tarfs. |
Hi @Atharex, before we implement the enhancement, can you try the following tar command as a workaround? Suppose you have a local OCI layout directory cd repo && rm -r ingest/ && tar cvf ../repo_modified.tar * && cd .. |
Hi @Wwwsylvia, this workaround actually works! After running tar within the folder, the archive is properly packaged and can be read with oras as normal
|
@Atharex Sounds good! Currently we have to package paths without the |
Details & original discussion thread here:
oras-project/oras#1539
The text was updated successfully, but these errors were encountered: