-
Notifications
You must be signed in to change notification settings - Fork 283
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
Support podman #413
Comments
Hi @abitrolly, CNB doesn't depend on There's been some discussion of supporting Linux containers directly on Linux workstations (without podman or docker), but that would result in UX inconsistencies with Mac/Windows. Supporting podman on Linux and Docker on Windows/Mac would have the same issues. Buildah isn't helpful here, because the CNB lifecycle generates OCI images directly (in unprivileged containers as a normal user without any user namespacing support). If you're looking to build images in CI (not locally), I'd encourage you to use the lifecycle directly for that, so that you don't need Docker. Here's an example: https://github.com/tektoncd/catalog/blob/master/buildpacks/buildpacks-v3.yaml |
@sclevine There would be no problem if |
I solved my problem by using |
Sounds like this issue is solved. For the broader feature ("Support Podman") we'd be happy to review a pull request. |
@zmackie
|
Hi @zmackie, i went through the source and want try to do it, have you some advice ? |
@dvaumoron I think pack supports interaction with podman already, some documentation about is here or are you planning to help with something else? |
My idea is to call podman directly without the socket, this way pack could be stand alone |
I want to add a flag switch which call an other function instead of tryInitSSHDockerClient in the initClient to get an alternative implementation of the interface CommonAPIClient |
Oh I see, interesting. I am not 100% sure BUT, I will suggest to open an RFC to discuss your idea and we can move forward with it, because it sounds really nice! |
Ok, i will do it |
https://buildpacks.io/docs/app-developer-guide/building-on-podman/ advertises |
https://podman.io is the daemonless docker alternative which supports CGroupsV2 and capable of running unpriviliged containers.
https://buildah.io/ can be interesting too.
The text was updated successfully, but these errors were encountered: