Replies: 8 comments 7 replies
-
@giuseppe PTAL |
Beta Was this translation helpful? Give feedback.
-
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?
|
Beta Was this translation helpful? Give feedback.
-
@giuseppe I can confirm that this is resolving the issue. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, I cannot confirm it works. I am stuck here:
I don't know why I cannot write
Tell me if I missed something. |
Beta Was this translation helpful? Give feedback.
-
A friendly reminder that this issue had no activity for 30 days. |
Beta Was this translation helpful? Give feedback.
-
@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. |
Beta Was this translation helpful? Give feedback.
-
Is the host Docker rootless? |
Beta Was this translation helpful? Give feedback.
-
Running the Docker host with |
Beta Was this translation helpful? Give feedback.
-
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.):
Beta Was this translation helpful? Give feedback.
All reactions