Tue Oct  6 12:41:22 UTC 2026
Unable to find image 'alpine:3.20' locally
3.20: Pulling from library/alpine
25f1d6b1951a: Already exists
Digest: sha256:d9e853e87e55526f6b2917df91a2115c36dd7c696a35be12163d44e6e2a4b6bc
Status: Downloaded newer image for alpine:3.20
started r528-hog (alpine:3.20, --memory 64m, swap 64m)
== before
low 0
high 0
max 0
oom 0
oom_kill 0
oom_group_kill 0
sock_throttled 0
OOMKilled=false running=true exit=0 restarts=0
hog 1 exec rc=137
Error response from daemon: container 573bd9b193fea38ab8301c6d9e4752211aaffb1a47009ed60d5b3cbb433ff5e5 is not running
hog 2 exec rc=1
Error response from daemon: container 573bd9b193fea38ab8301c6d9e4752211aaffb1a47009ed60d5b3cbb433ff5e5 is not running
hog 3 exec rc=1
== after three hogs (child processes of the running container)
Error response from daemon: container 573bd9b193fea38ab8301c6d9e4752211aaffb1a47009ed60d5b3cbb433ff5e5 is not running
OOMKilled=true running=false exit=137 restarts=0
== docker events (oom) in the last 2 minutes
1791290484 oom r528-hog

=== run 2: the hog raises its own oom_score_adj to 1000, so the kernel picks it, not the container's main process
Tue Oct  6 12:41:40 UTC 2026
started r528-hog (main: a sleep loop)
memory.oom.group=0
== before
oom_kill 0
OOMKilled=false running=true exit=0
hog 1 exec rc=137
Error response from daemon: container 4152ea857b6ad23ccc31b95774ff83bc7843c8532fd0dce64c21486cf88a7b56 is not running
hog 2 exec rc=1
Error response from daemon: container 4152ea857b6ad23ccc31b95774ff83bc7843c8532fd0dce64c21486cf88a7b56 is not running
hog 3 exec rc=1
== after three hogs
Error response from daemon: container 4152ea857b6ad23ccc31b95774ff83bc7843c8532fd0dce64c21486cf88a7b56 is not running
OOMKilled=true running=false exit=137 restarts=0
== docker oom events since this run started
1791290484 oom r528-hog

=== run 3: main process protected (--oom-score-adj -1000), hog at oom_score_adj 1000
Tue Oct  6 12:41:59 UTC 2026
started
pid1 oom_score_adj=0
hog 1 exec rc=137
Error response from daemon: container eba82647cdb95aebcda6410686d6b59f2178cdf645d84d852b136a00be5bac74 is not running
hog 2 exec rc=1
Error response from daemon: container eba82647cdb95aebcda6410686d6b59f2178cdf645d84d852b136a00be5bac74 is not running
hog 3 exec rc=1
== after three hogs
Error response from daemon: container eba82647cdb95aebcda6410686d6b59f2178cdf645d84d852b136a00be5bac74 is not running
OOMKilled=true running=false exit=137 restarts=0
== docker oom events since this run started
1791290484 oom r528-hog
1791290501 oom r528-hog

=== run 4: --memory 256m, main = sleep infinity (no forks), hog = one 400 MB block (dd bs=400M)
Tue Oct  6 12:42:18 UTC 2026
started
hog 1 exec rc=137
hog 2 exec rc=137
hog 3 exec rc=137
== after three hogs
oom 5
oom_kill 3
oom_group_kill 0
OOMKilled=true running=true exit=0 restarts=0
== docker oom events since this run started
1791290538 oom r528-hog
1791290541 oom r528-hog
1791290543 oom r528-hog
