I got an home server that is running docker for all my self hosted apps. But sometimes I accidentally trigger Earlyoom by remotely starting expensive docker builds, which kill docker.

I don’t have access to my server outside of my home network, so I can’t manually restart docker in those situations.

What would be the best way to restart it automatically? I don’t mind doing a full system restart if needed

  • KrapKake@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 months ago

    You should be able to make docker exempt from early oom. Check it’s github for instructions.

    • RustyNova@lemmy.world
      cake
      OP
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 months ago

      But can it prevent killing only docker, and not the build/big containers processes?