docker run -it -m 200M --memory-swap 0 python
ctop // switch to single container view
>>> a = bytearray(1024*1024*50) // 50M
>>> a.extend(bytearray(1024*1024*200)) // Add 200M -> OOM
<OOM_Killer>
docker inspect c3061d12b078| jq '.[].State.OOMKilled'
true