Comment on My notes on running containerized web services on a home server
skilltheamps@feddit.de 1 year ago
Do you do some sort of versioning/snapshotting of your services? I’m on the compose route as well, and have one btrfs subvolume per service that holds the compose.yml and all bind-mounted folders for perstistent data. That again gets regularly snapshotted by snapper.
What leaves me a bit astounded is, that nobody seems to version the containers they are running. But without that, rolling back if something breaks might become a game of guessing the correct container version. I started building a tool that snapshots a service, then rewrites the image:
in compose.yml to reflect what ever the current :latest
tag resolves to. Surprisingly, there doesn’t seem to be an off-the-shelf solution for that…