containers / podman-desktop

Podman Desktop - A graphical tool for developing on containers and Kubernetes
https://podman-desktop.io
Apache License 2.0
4.22k stars 264 forks source link

fix: use podman machine inspect to know if machine is rootful #7024

Closed benoitf closed 3 weeks ago

benoitf commented 3 weeks ago

What does this PR do?

in the past, the flag was not exposed so we had to parse some configuration files, but now we should rely on the podman machine inspect command to know if it's rootful or rootless

Screenshot / video of UI

What issues does this PR fix or reference?

fixes https://github.com/containers/podman-desktop/issues/7000

How to test this PR?

use test case of the linked issue

odockal commented 3 weeks ago

LGTM. Tested with 5.0.2 and 4.9.4.