-
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
Podman 3.0.1 :: As a non-root user inside a Fedora-33 docker-ce container, podman(1) fails with: "Error: cannot setup namespace using newuidmap: exit status 1". [Note: This was once working] ... #9753
Comments
@rhatdan PTAL |
Could you reinstall the shadow-utils (newuidmap) within the container. And see if it works. For some reason the file capabilities are not set by default. |
@rhatdan Absolutely. When I bring my cluster back up (likely tomorrow evening), I'll perform a |
@rhatdan Hello Daniel: There is positive progress after running I'm now able to
Note that I'm running as
Given all of that, here are follow-on questions (and thank you in advance[!]):
Thank you in advance! |
UPDATE: Regarding Regarding
|
If I run podman within a container without /sys/fs/cgroups mounted, we get this warning, which the user can not do much about. I don't see a reason for requiring this warning to show by default, so we should drop it to Info. User can not do anything about it either, and code works well with the somewhat expected error. Helps fix: containers#9753 Signed-off-by: Daniel J Walsh <[email protected]>
I think we should lower that warning to info, so that it will not show by default. |
If I run podman within a container without /sys/fs/cgroups mounted, we get this warning, which the user can not do much about. I don't see a reason for requiring this warning to show by default, so we should drop it to Info. User can not do anything about it either, and code works well with the somewhat expected error. Helps fix: containers#9753 Signed-off-by: Daniel J Walsh <[email protected]>
Hello Friends:
Environment:
Fresh install of Fedora-33 running inside a docker-ce container
podman(1) version 3.0.1 is being used (installed via dnf(1) during "docker build [...]")
Default podman configuration files (beneath /etc/) have not been modified.
jdoe, the non-root user, has not implemented any podman(1) configuration overrides.
Also:
Under the above environment and configuration,
podman(1)
use to work, but now fails. All sub-commands fail with the following error:As far as I can tell, the only command that works is:
The only thing that I can think of as far as why this once worked but now fails, is that I freshly rebuilt the enclosing docker container (after many months -- just to freshen it), and perhaps it installed a newer major version of
podman(1) v3.x
; and this gave rise to this new issue.Note that I didn't change anything in the
Dockerfile
; I simply rebuilt it.Any ideas friends? Thank you in advance!
The text was updated successfully, but these errors were encountered: