-
Notifications
You must be signed in to change notification settings - Fork 2.5k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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-in-docker: building image fails on cgroupv2-enabled systems #12559
Comments
@giuseppe PTAL |
I think it might happen because the Podman process is at the cgroup root inside the parent container, so the OCI fails to create a new cgroup and move a process there. I am not sure if it is something Podman needs to deal with though. To confirm what I said above, could you please try running these commands first in the Docker container before running Podman?
|
@giuseppe I can confirm that this is resolving the issue. |
Unfortunately, I cannot confirm it works. I am stuck here:
I don't know why I cannot write
Tell me if I missed something. |
A friendly reminder that this issue had no activity for 30 days. |
@giuseppe @stac47 @vrothberg What should we do with this issue, does not look like something Podman can fix. But @stac47 question was never answered. Since this seems like more of a discussion at this point I am transferring. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Building image with podman from a docker container fails on recent OS (ubuntu 21.10) but works on old systems (Red Hat Enterprise Linux Server release 7.9 (Maipo)). It is probably linked to the fact cgroupv2 is enabled on not.
Steps to reproduce the issue:
Describe the results you received:
The image build fails when on the RUN directive:
Describe the results you expected:
Running the same on Red Hat Enterprise Linux Server release 7.9 (Maipo)
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:I also tried with podman 3.4.3 coming when we run
dnf update --refresh --enablerepo=updates-testing podman
in fedora:latest.Output of
podman info --debug
:For comparison with the system on which it works:
Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)
No
Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: