Answer stability round 2: 1 🔴, 2 🟡 (0 misread); drop a --memory of 0 so the added limit stands, pin the 6m floor's edge, test env --unset, env --ignore-environment and doas, and say on Linux in the rule text

This commit is contained in:
2026-10-24 11:42:53 +02:00
parent 594b28ff68
commit 6a2f29635e
5 changed files with 14 additions and 5 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ first on the command's PATH. That docker adds the limits a container lacks, then
- A container that sets neither limit gets a memory limit and a swap limit, both the share.
- A container that sets one of them keeps it, and gets the other at the same size.
- A --memory-swap of -1, unlimited swap, is dropped and replaced.
- A --memory-swap of -1, unlimited swap, or a --memory of 0 is dropped and replaced.
Every other docker call goes through unchanged. A docker compose service, and a docker named by its
full path, get no cap: give those containers their own limits.