Open lstocchi opened 5 months ago
A friendly reminder that this issue had no activity for 30 days.
@l0rd @inknos would you think about this PR and if there is anything we can do about it?
@baude at minimum we should be consistent (podman info
and podman machine ls
should return the same values) and ideally we should always show the values that are currently returned by podman info
. I can give it a try during this bug week, unless @inknos wants to work on it.
@l0rd sure, I can take it. I was actually briefly checking it this afternoon
Issue Description
This is related to an issue opened on the Desktop side - https://github.com/containers/podman-desktop/issues/6451 Shortly, the user sees different values about the resources of a podman machine when using the cli and desktop. E.g. - On cli on desktop
The fact is that on WSL the podman machine uses the host resources so even if i create a podman machine with 14GB and 8 cpus, it has access to all memory/cpus available from the host. So displaying 14GB and 8 is not correct. Same for the disk size as it seems that it allocates 1TB by default, no matter the disk you have on the machine
_> https://learn.microsoft.com/en-us/windows/wsl/disk-space
Steps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
I see the resources defined when creating the podman machine
Describe the results you expected
it should show the resources available from the host
podman info output
Podman in a container
No
Privileged Or Rootless
Privileged
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting