feat: disable pid max in the podman machine

fix https://github.com/containers/podman-desktop/issues/5282

With FCOS we have a limit of 2048 files
But when launching containers like kind containers, we're reaching
easily the limit.
AFAIK as it's inside a dedicated machine, limit should be max
Limit should be only at the container level.

Signed-off-by: Florent Benoit <fbenoit@redhat.com>
This commit is contained in:
Florent Benoit
2023-12-19 21:19:47 +01:00
parent 1697a8bfcf
commit 3b881d4ecc

View File

@ -318,6 +318,7 @@ func getFiles(usrName string, uid int, rootful bool, vmtype define.VMType) []Fil
containers := `[containers]
netns="bridge"
pids_limit=0
`
// Set deprecated machine_enabled until podman package on fcos is
// current enough to no longer require it