Replies: 3 comments 1 reply
-
As this discussion is now two weeks old, without a reply, I suspect that it either should have been filed as an issue, or nobody has any ideas of anything to try. I'll leave it open a little while longer, in case someone has an idea, but will close it later if there is no reply. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Unfortunately, no... I did not get a solution to this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
If you're having this issue on NixOS, just enable the following option to fix it: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using
mmdebstrap
to build a Debian image from scratch. I'm doing that from within an unprivileged podman container running in a gitlab CI runner. Themmdebstrap
command produces an uncompressed tarball on standard output. It succeeds without a problem, but when I pipe that tarball topodman import
, I get the following error:The more specific debug log lines are:
I am able to do this on a privileged runner, without problems. Additionally, I can also build the image successfully with
-storage-opt ignore_chown_errors=true
to thepodman import
-- although I'm unclear what the consequences of this are. It is clearly a problem for running containers, but it seems like building is fine.Some debug information:
The
newuidmap
andnewgidmap
executables are available on the host as isslirp4netns
,kernel.unprivileged_userns_clone = 1
, andloginctl enable-linger gitlab-runner
has been run. What is missing?Here is the build script:
Running a
strace -f
on thepodman import
command, I see it fail here:Is
podman import
trying to activate user namespaces while it is in the docker container? Because this isn't a privileged container, where those are not setup in the container itself, would probably fail.Beta Was this translation helpful? Give feedback.
All reactions