0ffb223a4bae41089909906f9130e89d6c8df968
Containers management
These scripts and Systemd units manage the daily snapshoting of our Nspawn containers, and (optionally) update of Docker containers.
Introduction
All running Nspawn containers are stopped, snapshoted (using Btrfs subvolumes) and restarted
Files
conts-snap.shruns the main process, which snapshots the Nspawn containers.docker-upgrade.shpulls the newest version of running Docker containers.variables.conf.templatecontains examples variables definitions, and should be copied locally tovariables.conf(with any required modifications).systemd-templates/contains Systemd units templates for running the scripts unattended.
Installation
install.shscript copies Systemd templates to their destination, and enables conts-snap and docker-upgrade timer.
TODO
- RAS
Description
Languages
Shell
100%