-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Podman import xz compressed rootfs can not save and load to the other machine #18193
Comments
Yes, the Given that the man page has been documenting Bzip (not even Bzip2) and Xz since 2017, that’s before Podman was named Podman, I have to wonder whether we shouldn’t just stop advertising this in the documentation instead of implementing this. There are two aspects to supporting Xz:
So, given the 2017 history, and the awkwardness of truly and cleanly supporting Xz, I’m a bit tempted to declare this, or at least the Bzip/Xz parts, a documentation bug; and to only consider adding Zstd support. OTOH implementing Xz, either naively in a way that triggers the warning, or correctly with a temporary file, would not really be that much work — it’s mostly a question of need/prioritization. |
I'm OK with changing docs instead. |
A friendly reminder that this issue had no activity for 30 days. |
@meilier Interested in opening a Docs PR? |
I'd argue that it shouldn't consider docs only. I'm ok with no support for |
That’s a fair point, yes; the |
Issue Description
podman import xz compressed rootfs can not save and load again.
Steps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
Describe the results you expected
import success
podman info output
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
No response
Additional information
Try to seach and locate, it seems like wrong compression algorithm is used in containers/image, result in a wrong diffID saved.
But when I try decompress it, import becomes very slow, there may be too many decompressiones during import.
https://github.com/containers/image/blob/main/tarball/tarball_src.go#L88
The text was updated successfully, but these errors were encountered: