Best approach for Docker resilience with two hosts - eviltoast

I’m running Docker on Ubuntu server; around 50 containers running, most admin via Portainer. Configuration files and small databases for container applications are stored on the local SSD, media and larger files are stored on a NAS.

NAS data and the container folders are backed up.

I have a second identical machine doing nothing. What would you recommend researching to add resilience to this setup? Top priority is quick and easy restoration should the SSD fail - everything else is relatively easy to replace.

I’ll create an SSD RAID but I like the idea of a second host.

  • Mio@feddit.nu
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    It might be enough to just rsync stuff to the secondary regularly and the inactive machine monitor the active machine and just start all services as the active machine stops responding.