-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
cannot find UID/GID for user *: open /etc/subuid: no such file or directory #15611
Comments
to use images with multiple IDs, rootless podman needs to create a user namespace where multiple IDs are mapped. Allocating additional IDs to a user is a privileged operation that can be performed only by root. Most recent distros do this automatically for each user created on a system, and no manual intervention is required, but if this is not done, then you need to run If that is not possible, then you are forced to run with a single mapping, setting explicitly the setting in the |
Is prompting the user for permission to escalate not feasible?
I've never used podman before. I have no idea whether I want rootless or not. Mostly, I was just trying to run it to see if I could create a minimal container. I spent about 30 minutes trying to figure it out, then gave up. The error messages didn't help. While I appreciate the suggestion to "run Possibly:
$LOGNAME is POSIX.1-2017, but there may be other equally valid ways to instruct the user as to what username to use, rather than
After another search, it looks like DocumentFoundation has documented a similar approach, but uses
If a page like the DocumentFoundation's existed as a quick start guide for podman, I'd have been up and running in a few minutes. It'd still be nice to know what the range of 10000-75535 means and why those particular values were selected. |
Issue #6572 is related, where @rhatdan writes:
Note that those lines produce the following error message, username notwithstanding:
Adding the following line to the documentation won't hurt:
|
More issues:
This is looks like the same issue as #8705. The fix is to create
That leads to another issue in that
The fix is to install fuse-overlayfs, such as:
Looks like podman is running now. Please consider updating the man pages or adding these notes to the troubleshooting section. |
AFAIK, nobody in the development team is using Arch Linux, so we are not familiar with that environment and what differences there are with other distros. If you already have the solution to these problems, would you mind opening a PR to improve the documentation for Arch Linux? |
Looks like this is already documented in the Arch Wiki: https://wiki.archlinux.org/title/Podman Linking to urls for help seems unmaintainable to me. |
This seems to be specific to Archlinux and should be added under the installing part. I don't think we need to dirty up the man pages with each distros kernel decisions. |
A friendly reminder that this issue had no activity for 30 days. |
@DaveJarvis are you interested in opening a PR to fix this? |
Sorry, I have many other fish being fried. |
A friendly reminder that this issue had no activity for 30 days. |
archlinux , wont' work even after usermod
|
Did you do a |
i did , i have to manually add |
And now it works? |
A friendly reminder that this issue had no activity for 30 days. |
Since I never heard back, I am assuming this issue has been resolved, closing. Reopen if I am mistaken. |
It is not sovled , i just stopped trying podman for my usecase and i went back to docker. |
On Arch Linux:
Perhaps add an entry to the troubleshooting guide? Also, consider updating the message to point to the troubleshooting guide:
https://github.com/containers/podman/blob/main/troubleshooting.md
Consider:
Even better, of course, would be:
Or even something like:
Something feels off here. When I run docker, it attempts to run without any error messages upon first install. Consider:
The help is clear on where to go to next. In contrast, podman states:
That's not helpful. What username? Why 10000? Why 75535? Those seems like arbitrary IDs. Again, something feels off here. Why do I have to set the uid/gid values in a file located in
/etc
just to list images and search for an HTTP server?The text was updated successfully, but these errors were encountered: