From 3b881d4eccd4b30f4f8eb0d32d8f8dd2f1224d35 Mon Sep 17 00:00:00 2001 From: Florent Benoit Date: Tue, 19 Dec 2023 21:19:47 +0100 Subject: [PATCH] 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 --- pkg/machine/ignition/ignition.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/machine/ignition/ignition.go b/pkg/machine/ignition/ignition.go index 11488d4a3f..8e2cf1c408 100644 --- a/pkg/machine/ignition/ignition.go +++ b/pkg/machine/ignition/ignition.go @@ -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