fix(oci): a Compose reservation is not the memory limit of the container

What a Compose file reserves is the least the application is promised, not the most it may use. 81 recipes had taken it as the memory of the container, as low as 128 MB, and the kernel stopped applications such as Home Assistant Official and UniFi Network.

Without a limit in the file the container gets the standard 1024 MB, or the reservation when it is larger. A limit the file sets is kept.
This commit is contained in:
MacRimi
2026-10-11 12:02:04 +02:00
parent 56d7a1839b
commit a552da6f91
85 changed files with 147 additions and 89 deletions
+1 -1
View File
@@ -425,7 +425,7 @@
"unprivileged": true,
"ostype": "auto-from-image",
"cores": 2,
"memory_mb": 512,
"memory_mb": 1024,
"swap_mb": 512,
"rootfs_size_gb": 8,
"rootfs_storage": "local-lvm",