Docker version 19.03.0-rc3, build 27fcb77
OS Version: Debian Stretch
Kernel version: Linux sonic 4.9.0-11-2-amd64 #1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11) x86_64 GNU/Linux
As per the docker documentation is we start a docker with -m --memory-swap=, upon hitting the limit, the container is expected to be killed due OOM (when --oom-kill-disable is not specified). I see that instead my host kernel panics. This should not be the case. What am I doing wrong.