-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
As a user I want to pull locally OCI artifacts from remote registry #21785
Comments
A friendly reminder that this issue had no activity for 30 days. |
@nalind PTAL |
@mtrmac This is something skopeo can do correct? |
Where should they be pulled to? To get a local copy, If the goal is something “similar to |
I think we need to have a meeting of the mind on this with Nalin and others to see where we should go with this, or just fall back to telling people to use skopeo. |
skopeo copy with oci transport will only re-create image directory structure and not extract the artifacts from the image. See output from
|
The OCI artifact itself is really a (on-registry / on-disk) storage meta-format. What is the semantics of the It may well make sense to write a tool to natively create, and consume, 1?2?10?50? major formats. I struggle a bit with the idea that some tool should specifically consume Of course it’s possible for such a tool to be written, but thinking of Skopeo as a generic image/artifact transporter, I don’t see that prescribing (such a non-obvious) filesystem mapping is Skopeo’s business. If $you want an But, starting with an OCI “group of blobs” abstraction, and building an |
On our container guild gathering meeting on July 31st 2024 I presented the idea Ina and me are working on and @rhatdan mentioned that implementing
Since we plan to start publishing Fedora and CentOS netboot artifacts on quay.io later this year, we would really appreciate a pull capability for generic files. We do not have any preference on whether this should be in podman or skopeo. Thanks! |
|
Use would specify a path, if there is more then one artifact then the path could be treated as a directory if it does not exist. |
So the command could not be Is the proposal to assume some specific MIME type / file naming convention, like the Or maybe we want both, “generic pull” and “pull of a named-collection-of-blobs”. |
Just a note - we need the new command to "extract" the files from layers. What I mean is to interpret the image title annotation and then creating those files in a destination directory. Making a simple |
Feature request description
podman allows to build and push image manifest/manifest index containing OCI artifacts to the registry, however there is not command to pull them back.
Suggest potential solution
podman pull can locally pull OCI artifacts in a similar way oras pull does
Have you considered any alternatives?
it is possible to use oras to pull artifacts from the registry but it is not included in standard distributions and it is inconvenient to use different tools to perform single the workflow
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: