-
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
slow (minutes delay) start when rinning with --userns=keep-id #11220
Comments
Thank you. Just to be clear, this does not happen with the ealier, "podman version 3.1.0-dev", version. Is chowning the underllying storage something that needs to be done in "podman version 4.0.0-dev" but not in the earlier version? If there's a fix on the way it doesn't mater much (to me at least) why it's happening but the "chown the underlying storage" explanation feels incomplete (at least, to me). |
@dc25 You can workaround the problem with
in your |
Thank you. I also had to add a "drivers" setting which resulted in the following
This took care of the slow start for me. What, if any, cost is there to running with these config settings? If there's no cost, would it make sense to make them the default? For that matter, is there a way to display the defaults? Maybe that has something to do with why |
I think we can close this issue as a duplicate of #10374 |
/kind bug
Description
podman can take a long time to start when running with --userns=keep-id
Take a look at the following transcript. Podman run commands that start
quickly slow down when --userns=keep-id is added to the command. If I run
the same command a second time, it starts quickly.
In this example I use a trivial Docker file that just sets a couple
environment variables to create a new image, "d" . The first time I run "d"
with keep-id, it takes 6 or so seconds. In practice though, if I use a
longer Docker file I have seen it take up to 3 minutes to start with keep-id
(the first time). I thought that podman had frozen but eventually it
started.
This was with version "4.0.0-dev". Version "3.1.0-dev" does not show this
problem.
Additional information you deem important (e.g. issue happens only occasionally):
Running on ubuntu 20.04 desktop.
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):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.):
The text was updated successfully, but these errors were encountered: