Container Updating Strategies

This page summarizes the projects mentioned and recommended in the original post on /r/selfhosted

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • home-ops

    Wife approved HomeOps driven by Kubernetes and GitOps using Flux

  • For example: https://github.com/onedr0p/home-ops/pull/4528

  • Diun

    Receive notifications when an image is updated on a Docker registry

  • Don't use watchtower. It only looks for the latest tag on a container, latest could be v2 and then become v3 which has breaking changes. If you insist, use watchtower in notify-only mode or check out Diun instead and never use a latest tag ever again.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • docker-updater

  • I've use a script to check for updates. Than - for updating - I have a simple bash script that does the dc pull, dc up - d, and cleans afterwards.

  • zrepl

    One-stop ZFS backup & replication solution

  • webhook

    webhook is a lightweight incoming webhook server to run shell commands

  • I use https://github.com/adnanh/webhook to deploy the changes in the git repository to the server and have it run docker compose up -d. I actually just modified it this week to run the docker commands in a background queue using https://vicerveza.homeunix.net/~viric/soft/ts/ (commands are added to a queue and run in the order they were added, useful for long-running commands) this way webhook can reply that the git repository was updated on the server and the docker compose command was added to the task queue and webhook doesn't timeout.

  • watchtower

    A process for automating Docker container base image updates.

  • It depends. Some containers I update automatically using watchtower: there comes something not critical or where I'm using a development version of an app. But I update some containers manually by rolling out new deployments in Nomad.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts