-
Notifications
You must be signed in to change notification settings - Fork 161
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
Document Support for podman v2 #341
Comments
I will gladly test everything related to podman on Fedora/RHEL/Centos. |
If it's helpful (and I realize this is somewhat orthogonal), here's some existing experiments I did a couple weeks ago with a containerized podman + But as an example, maybe only useful as a reference as it's everything running in a privileged, Docker container so pretty unaligned for your standard RHEL + podman user, I expect. |
I am not sure if v2 in the title is correct, latest podman is v3, v2 doesn't support docker API well enough to work with |
I wrote a quick blog which demonstrates how to run this on Fedora in a way in which a Podman + Fedora/RHEL user would think of it. To get it to work, I have to disable SELinux. I "tried" messing with the --publish flag to see if that would preclude the need to push the image into the local image store, but I forgot that with Docker this isn't really possible. http://crunchtools.com/testing-cloud-native-buildpacks-on-fedora-with-podman/ Is there a way with pack to pass "docker" a flag like --privileged? I think it would be worth doing that to make it explicit that a user is in fact running a privileged container. Also, if I had a way to do this, I could probably do this rootless and still be "decently" secure. |
@micahyoung also, we did add the pack CLI to Fedora recently, so all you have to do is run "yum install pack" |
@matejvasek and I are working on something here: https://hackmd.io/v59Gb3GaQVqPb-ojkvaJxw Debating on whether it should be a blog post of docs... 🤔 |
@jromero That looks awesome! |
@jromero Your instructions worked for me on my MBP. The only issue I had is that after running For me the difference was the default
The command you have to set I had to run I also tried setting |
Created PR: #456
We should be getting rid of the need to use the root context once this issue is complete. I added a mention to it in the docs. Thank you for the feedback and report. |
Summary
We should document how you can use podman v2 to build images.
We should follow the steps shown in buildpacks/pack#966 (comment)
What questions should this documentation answer?
Who is the target audience for this documentation?
Additional Information
The text was updated successfully, but these errors were encountered: