Skip to content
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

Feature Request: Support exporting images to a containerd socket #829

Open
spkane opened this issue Mar 16, 2022 · 7 comments
Open

Feature Request: Support exporting images to a containerd socket #829

spkane opened this issue Mar 16, 2022 · 7 comments
Labels
help wanted Need some extra hands to the this done. status/ready type/research Issue intended to be exploratory.

Comments

@spkane
Copy link

spkane commented Mar 16, 2022

Description

It is more and more common not to have a local Docker daemon available and during certain testing cycles pushing to a registry is not always easy or desirable.

It would be great if you could easily create a buildpack and then export the results directly into a containerd namespace.

Proposed solution

Extend pack and the underlying creator command so that it is possible to pass in something like -containerd k8s.io, which will then tell the export step to push the results into that containerd namespace instead of into a Docker registry or daemon.

Describe alternatives you've considered

Many hacks that require running Docker, exporting to docker, pull out the image, and then re-pushing it into containerd.

@spkane spkane added status/triage type/enhancement New feature or request labels Mar 16, 2022
@spkane
Copy link
Author

spkane commented Mar 16, 2022

Cross-posted here: buildpacks/pack#1393

Feel free to close one or the other, but I wasn't sure which location was best, and whether both tools would need related changes.

@jjbustamante
Copy link
Member

jjbustamante commented Mar 16, 2022

Hi @spkane, Thanks for creating the issue! I've been working on a couple of RFCs related to adding additional support for removing the Daemon or exporting to OCI format.

I will try to take this issue into the evaluation and see if we can move forward with the idea!

@spkane
Copy link
Author

spkane commented Mar 16, 2022

Thank you very much @jjbustamante ! That would be very much appreciated.

@natalieparellano
Copy link
Member

With export to OCI layout supported in lifecycle 0.17.0, this is no longer blocked. We should research if we can use OCI layout as intermediate glue to export to the containerd socket. This research would probably need to be done in partnership with some folks from pack.

@natalieparellano
Copy link
Member

cc @jjbustamante

@natalieparellano
Copy link
Member

See buildpacks/pack#1519 (comment) - we have a short-term hack that degrades performance, but refactoring imgutil/local to use imgutil/layout/sparse will solve this cleanly.

@jjbustamante
Copy link
Member

See buildpacks/pack#1519 (comment) - we have a short-term hack that degrades performance, but refactoring imgutil/local to use imgutil/layout/sparse will solve this cleanly.

Do we need to fix this issue first?

@natalieparellano natalieparellano added the help wanted Need some extra hands to the this done. label Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Need some extra hands to the this done. status/ready type/research Issue intended to be exploratory.
Projects
None yet
Development

No branches or pull requests

3 participants