-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
"open /etc/subuid: no such file or directory" error message #6572
Comments
@Nuc1eoN thanks for the feedback, that message could most definitely have a better resolution text. I believe the /etc/subuid & /etc/subgid files were not setup appropriately. The best doc available at the moment that I know is: https://github.com/containers/libpod/blob/master/docs/tutorials/rootless_tutorial.md hth, and we'll see if we can make that message a bit more intuitive. |
Well it is in the man page.
|
Maybe then at least, it should mention that you can find this in the man pages and where exactly. Or give a brief description of the problem. Because |
@giuseppe @vrothberg WDYT |
Sounds good to me 👍 Some error messages are hard to decrypt and sometimes even harder to find a potential solution. Pointing to the man page directly could be really helpful. |
@Nuc1eoN, are you interested in opening a pull request to change the error message? |
Haha thanks for asking, but currently I am pretty occupied with other tasks :D |
@ryanchpowell PTAL |
Improve the error message for rootless mode. Git-Url: containers#6572 Signed-off-by: Douglas Schilling Landgraf <[email protected]>
I'm a new podman user using ArchLinux; I was a docker user before.
I have tried running podman unprivileged but I am getting an error message with no explanation:
ERRO[0000] cannot find mappings for user <username>: open /etc/subuid: no such file or directory
Appears there already was a bug report about improving the guidance and documentation for this case in #1755
However no such documentation or guidance seems to be in place? Just throwing our an error message without any explanation is definitely not the best user experience, esp. if you migrate from docker to give podman a try.
The text was updated successfully, but these errors were encountered: