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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user