talira

Receive notifications when an image is updated on a Docker registry

open sourceMITself-hostablefree

Diun (Docker Image Update Notifier) watches the container images your hosts and clusters run and tells you when a tag or digest changes on the registry. It finds images through providers for Docker, containerd, Swarm, Kubernetes, Nomad, Dockerfiles and a YAML file, checks them on its own cron schedule with include and exclude tag filters, and sends notifications to 17 notifiers including Slack, Discord, Telegram, Matrix, ntfy, Gotify, Teams, Apprise, email, MQTT and webhooks. On Kubernetes its ClusterRole only needs to get, watch and list pods. CrazyMax maintains it under the MIT licence, as a single Go binary for Linux, macOS and Windows or the crazymax/diun image.

Problems it solves

  • tell me when a new version of a container image I run is pushed to the registry
  • get a Slack or Discord message when a base image my Dockerfile uses gets a security rebuild
  • I keep missing upstream releases of the self-hosted apps running in my Docker containers
  • notify me about image updates without automatically restarting or replacing my containers
  • watch the images every pod in my cluster uses and alert me when newer tags appear
  • track new tags for a list of images I don't run yet, defined in a config file
  • only alert on new semver tags matching a pattern, not every nightly or rc tag
  • send image update alerts to Telegram, ntfy or Gotify on my phone
  • check registries for updated images on a schedule without setting up cron
  • monitor the images in my Docker Swarm services and Nomad jobs for updates
  • avoid hitting Docker Hub rate limits while checking my images for new versions
  • trigger a script or webhook when an image digest changes on the registry

Features

  • providers: Docker, containerd, Kubernetes, Swarm, Nomad, Dockerfile and file
  • notifiers: AMQP, Apprise, Discord, Elasticsearch, Gotify, mail, Matrix, MQTT, ntfy, Pushover, Rocket.Chat, script, Signal (REST API), Slack, Teams, Telegram, webhook
  • built-in cron schedule with jitter
  • include and exclude tag filters; watch_repo to track every tag of a repository with semver or lexicographic sorting
  • override the target image OS and architecture
  • Healthchecks integration to monitor the watcher
  • Prometheus metrics
  • notification title and body templates
  • registry authentication through regopts or a Docker config.json
  • gRPC API used by the image list, inspect, remove, prune and notif test commands
View 2 more
  • binaries for Linux (386, amd64, arm64, armv5-7, ppc64le, riscv64, s390x), macOS (amd64, arm64) and Windows (386, amd64, arm64)
  • Docker image and Linux service install

Limitations

  • Images pinned only by digest are checked as latest: Diun analyses a digest-only image as the latest tag, which can give false positives1

Capabilities

Has an APIplan not known
Has a command line toolplan not known
Sends webhooksplan not known

Alternatives

The same job

These do what Diun does.

  1. What's Up Docker Keep your containers up-to-date across any orchestrator, automatically and effortlessly.
  2. version-checker Kubernetes utility for exposing image versions in use, compared to latest available upstream, as metrics
  3. Nova Find outdated or deprecated Helm charts running in your cluster
  4. Keel Kubernetes operator that updates deployments and Helm releases when new images are pushed
  5. Tugtainer Automated Docker container updates with a web UI
  6. Argo CD Image Updater Automatic container image updates for Argo CD

Compare Diun with the top 3