Go to file
2022-07-24 21:03:29 +02:00
systemd-templates Initial commit 2022-07-24 20:28:08 +02:00
.gitignore Initial commit 2022-07-24 20:28:08 +02:00
conts-snap.sh Initial commit 2022-07-24 20:28:08 +02:00
docker-upgrade.sh Initial commit 2022-07-24 20:28:08 +02:00
install.sh Fix error in install.sh 2022-07-24 21:03:29 +02:00
README.md Initial commit 2022-07-24 20:28:08 +02:00
variables.conf.template Initial commit 2022-07-24 20:28:08 +02:00

Containers management

These scripts and Systemd units manage the daily snapshoting of our Nspawn containers, and update of Docker containers.

Introduction

All running Nspawn containers are stopped, snapshoted (using Btrfs subvolumes) and restarted

Files

  • conts-snap.sh runs the main process, which snapshots the Nspawn containers.
  • docker-upgrade.sh pulls the newest version of running Docker containers.
  • variables.conf.template contains examples variables definitions, and should be copied locally to variables.conf (with any required modifications).
  • systemd-templates/ contains Systemd units templates for running the scripts unattended.

Installation

  • install.sh script copies Systemd templates to their destination, and enables conts-snap and docker-upgrade timer.

TODO

  • RAS