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
Error: cannot setup namespace using newuidmap: exit status 1 #12637
Comments
can you check if Please show the output for: |
stat returns
|
thanks. Can you also show the content of the How is |
|
ok, thanks. Can you try the following commands?
Do they work fine? |
yeah they exit with 0 no issues |
does |
|
What is your user id (output from |
|
thanks, still I've no clue why it doesn't work. Would it be possible for you to apply the patch here: #12641 and see if the error message gives us a better understanding? |
|
it looks like the patch was not applied |
yeah my bad I'm trying to rebuild it from source its taking a while, I'll update when its done |
I'm running into issues building on nixos |
also another thing to note, running with root everything works. its only in rootless mode where there are issues |
root doesn't need |
why do you have your user listed twice with the same range in the Can you drop one line from each file and make sure there are no overlapping mappings? like:
|
yeah that was the issue, dropping the extra lines fixed the issue |
@giuseppe, FWIW that's the default in the latest stable podman image,
|
I ran into this error on Podman 4.2 on Arch Linux. I resolved it after following the "Rootless Podman" setup steps on the Arch Wiki: https://wiki.archlinux.org/title/Podman#Rootless_Podman I'm not sure exactly what fixed it, but it seemed to start working after removing my |
I am on POPOS with nix home-manager. I installed |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
attempting to create any container rootlessly results in
Error: cannot setup namespace using newuidmap: exit status 1
Steps to reproduce the issue:
1.run
podman run docker.io/hello-world
Describe the results you received:
Error: cannot setup namespace using newuidmap: exit status 1
Describe the results you expected:
runs the docker-hello world container
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:running
podman --version
outputsOutput of
podman info --debug
: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)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
nixos unstable
The text was updated successfully, but these errors were encountered: