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

  • @[email protected]
    link
    fedilink
    English
    5
    edit-2
    2 months ago

    Do you have your services set up with restart=unless-stopped? I wonder if that would auto restart them after OOM.