containers / podman

Podman: A tool for managing OCI containers and pods.
https://podman.io
Apache License 2.0
22.36k stars 2.31k forks source link

Error when machine memory exceeds system memory #23126

Open baude opened 3 days ago

baude commented 3 days ago

Close loophole that would allow you to assign more memory than the system has to a podman machine

Fixes: #18206

Does this PR introduce a user-facing change?

Fixed bug where user could assign more memory to a Podman machine than existed on the host.
openshift-ci[bot] commented 2 days ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: baude, Luap99

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/containers/podman/blob/main/OWNERS)~~ [Luap99,baude] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment