From ffe76144fb60b8acc25c6134688eefe5f6fe6d49 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 22 Mar 2026 11:02:58 +0000 Subject: [PATCH] Fix container start failure on Pi: disable cgroup swap limit Raspberry Pi OS does not enable swap accounting in cgroups by default, so the memory.swap.max cgroup v2 file does not exist. Setting --memory without --memory-swap causes runc to write a swap limit to that file, which fails with ENOENT. Adding --memory-swap=-1 tells runc to leave swap unlimited, skipping the memory.swap.max write entirely. https://claude.ai/code/session_01FKCW3FDjNFj6jve4niMFXH --- builder/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/builder/build.sh b/builder/build.sh index a93341f..66b6876 100755 --- a/builder/build.sh +++ b/builder/build.sh @@ -106,6 +106,7 @@ podman run --detach \ --label "hiy.port=${PORT}" \ --restart unless-stopped \ --memory="512m" \ + --memory-swap=-1 \ --cpus="0.5" \ "$IMAGE_TAG"