-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Does rootless podman works? Can someone help me with setup? #3500
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
Comments
I am also trying rootless and having no luck seeing container data.
|
In my environment it runs as Rootless: |
I am having issues despite having tried the last post's suggestions. My environment:
And my run command:
In the container log, I can see that the podman engine is clearly recognized:
However, once cAdvisor finishes booting, it periodically emits messages such as:
At the web UI's Out of desperation, I tried mounting the user dbus socket ($XDG_RUNTIME_DIR/bus) into the container as well, no change. Also tried mounting Full log (In case it was needed, verbosity set to 10 [-v 10]):
Any suggestions on making Rootless Podman work would be much appreciated! |
Hi, @Aldenar the path for |
Unfortunately, that didn't help either. I tried deploying the latest v0.51.0, and under /podman/, I get some information like the OS, Podman and API versions. But nothing regarding the specific containers running:
Though the container's log does indicate it registered the Podman API correctly
Run command:
|
How, afaik latest version is v0.49.1 right? So, you mean you are getting the info about everything including podman too but not the container names right? Can you just check this out #3628 once because I think we may be having the same issues. Also, could you try adding |
@jollySleeper you can't trust |
Thanks for the info @frenkye . |
@Aldenar I updated to The Output of
Fraction of
|
I can confirm that after adding the cgroup volume, and modified the podman.sock permissions to be rw, cadvisor was finally able to enumerate running containers and their stats. Tested working from cAdvisor v0.49.1 onwards. Pre-0.49.1 didn't detect the podman socket at all. Thank you for the suggestion! |
Hi @Aldenar glad to hear that it's working for you. Can you please share the command that you used to run. It would really help us. |
Sure, my full run command is:
The variables should be self-explanatory, ROOTLESS_HOMEDIR is the homedir of the non-root user under which the podman instance runs. |
Hi,
i tried to setup this for 3 scenarios:
I have issue with cadvisor not returning metrics about cpu, memory of running containers. I would appreciate, if anyone could give me some hint how to do it.
I know for long time there wasnt full support in 0.47.2, but this should be now in 0.49.1 available since support was added in 0.48.0
Last run command:
The text was updated successfully, but these errors were encountered: