-
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 pull shall accept https-input as oci-archive #11970
Comments
Thanks for your report. First of all, consider using a registry; it’s pretty much certain to be more efficient than linear archive formats, both when publishing and when downloading images. Skopeo is mostly a thin wrapper over c/image, and not really in the business of being an arbitrary HTTP client. It seems possible to do something like curl 'https://mail.aegee.org/oci-images/ldap-2021-09-11.tar' | skopeo copy oci-archive:/dev/stdin $dest and adding extra features to make that easier is not really a focus of Skopeo (especially for an approach that is somewhat discouraged anyway). As for |
Actually, if the input is an OCI image, you probably don’t want |
It would be good, if command existed, which at the same time: consume the tag from the image and downloads the image over HTTP. |
Did you check the contents of the image? Anyway, please report Podman bugs in the Podman repo. That download RFE is also something that Skopeo will not do, but Podman might. |
I have not checked the image. In any case, |
A friendly reminder that this issue had no activity for 30 days. |
@dilyanpalauzov What is going on with this issue. Do you believe there is still a problem? |
I think it would be more useful, if a single command exists, which downloads an image over HTTP and stores it under containers-storage: Currently this must be acomplished by two commands. Moreover there are so many commands to convert between oci-archive: and containers-storage: that it is hardly possible to remember which command is good when. Thus ideally all command serving the same purpose shall support the same set of options and features. Apart from this, as described above, image export and import does increase the used size, which is a hint for some defect. |
@dilyanpalauzov Could you change the title to identify what you would like Podman to do? |
AFAICS, primarily, that tarball (an OCI archive) needs to be consumed using Then,
that does look correct/expected given the image as is: |
I adjusted the title. I am asking to be able to pass |
The semantics of Doing this in |
I'll tackle it. Not a bug but easy to get done. |
Support downloading files, for instance via `podman load -i server.com/image.tar`. The specified URL is downloaded in the frontend and stored as a temp file that gets passed down to the backend. Also vendor in c/common@main to use the new `pkg/download`. Fixes: containers#11970 Signed-off-by: Valentin Rothberg <[email protected]>
podman import
can download images over HTTPS, but later thepodman images
shows no repository and no tag:I can fill the REPOSITORY and TAG column, if I first download the file and then use skope copy:
but the latter is more cumbersome. Please either extend
skopeo copy
to be able to download from HTTPS in theoci-archive:
transport, extendpodman import
to be able to import the repository and tag, or both.podman import
has as extra, that it can import .tar.zstd files, (which can be compressed by zsd level 19, which is better thanskopeo copy --dest-compress-format=zstd --dest-compress-level=20
.The text was updated successfully, but these errors were encountered: