What is the purpose of Docker’s –oom-kill-disable and –oom-score-adj flags and what risk does disabling OOM kill introduce?

Docker Fundamentals Hard

Docker Fundamentals — Hard

What is the purpose of Docker’s –oom-kill-disable and –oom-score-adj flags and what risk does disabling OOM kill introduce?

Key points

  • --oom-kill-disable prevents the OOM killer from terminating the container
  • Disabling OOM kill can make the host unresponsive or kill critical processes
  • --oom-score-adj adjusts the OOM kill priority score of the container
  • These flags are important for managing memory resources effectively in Docker

Ready to go further?

Related questions