A WebUI for automatically updating Docker containers and sending notifications about container changes.
mag37/dockcheck
Bash CLI that checks Docker containers for newer images and updates them interactively or unattended, with notifications, image backups and autoprune.
Open-source alternative to:Watchtower
- Stars
- 2,544
- Forks
- 96
- Open issues
- 9
- Last commit
- 25 days ago
What is it?
dockcheck is a shell script that compares the images used by your running Docker containers against their registries and reports which ones have newer versions. You can then choose which containers to update interactively, or run it unattended from cron with filters for inclusion, exclusion and label-based selection.
Beyond basic update checks, it can keep retagged backups of previous images for rollback, prune dangling images after updates, and send notifications through a range of channels such as ntfy, Gotify, Telegram, Slack, Discord, Home Assistant and Apprise. It also supports Docker Compose stacks, Prometheus metrics export, and an option to check for updates without pulling them.
It requires Bash 4.3 or later, jq and regctl, and it is designed for Docker hosts such as homelab servers. Podman is not supported by this project; a separate fork exists for that.
Key features
- 01Interactive selection or fully unattended updates of Docker containers
- 02Include, exclude and label-based filtering of containers
- 03Image backups retagged for easy rollback, with age-based cleanup
- 04Notifications via many channels including ntfy, Telegram, Slack and Home Assistant
- 05Docker Compose support and optional containerized deployment
- 06Prometheus metrics export through the node_exporter textfile collector
Use cases
- Keeping a homelab's self-hosted Docker services up to date on a schedule
- Getting notified about available container updates without applying them automatically
- Rolling back a container to its previous image after a faulty update
- Monitoring pending image updates through Prometheus or Zabbix
Quick start
- 1
Download the script to ~/.local/bin with curl
curl -L https://raw.githubusercontent.com/mag37/dockcheck/main/dockcheck.sh -o ~/.local/bin/dockcheck.sh - 2
Make the script executable
chmod +x ~/.local/bin/dockcheck.sh - 3
Run the script to check for container updates
dockcheck.sh
Things to know
- Requires Bash 4.3 or newer, jq, and a running Docker with compose.
- Written in Bash, so it only runs on Linux-like shells; Podman needs a separate fork.
In collections
Topics
FAQ
- What is dockcheck?
- Bash CLI that checks Docker containers for newer images and updates them interactively or unattended, with notifications, image backups and autoprune. dockcheck is a shell script that compares the images used by your running Docker containers against their registries and reports which ones have newer versions. You can then choose which containers to update interactively, or run it unattended from cron with filters for inclusion, exclusion and label-based selection.
- Is dockcheck free to use? What license does it have?
- dockcheck is open source under the GPL-3.0 license. Check the license terms before using it in commercial products.
- Is dockcheck still maintained?
- Actively maintained. The last commit to dockcheck was on Oct 14, 2026.
- What can I use dockcheck for?
- Keeping a homelab's self-hosted Docker services up to date on a schedule Getting notified about available container updates without applying them automatically Rolling back a container to its previous image after a faulty update Monitoring pending image updates through Prometheus or Zabbix
- How do I install dockcheck?
- Download the script to ~/.local/bin with curl: curl -L https://raw.githubusercontent.com/mag37/dockcheck/main/dockcheck.sh -o ~/.local/bin/dockcheck.sh Make the script executable: chmod +x ~/.local/bin/dockcheck.sh Run the script to check for container updates: dockcheck.sh
- Where can I get dockcheck?
- The source code and installation instructions are on GitHub: https://github.com/mag37/dockcheck
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A self-hosted tool that watches running containers across Docker, Swarm, Kubernetes, Compose and Nomad, flags newer image versions, and can notify or auto-update them.
A self-hosted Docker app with a web UI that checks for and applies updates to your containers on a schedule or manually.
A single Go binary that remembers your server's last state and reports only the changes worth noticing, with an MCP server built in.
A CLI for creating reusable infrastructure templates and rendering them into environment-specific configs for homelabs and self-hosted setups.
Self-hosted uptime monitoring tool that tracks HTTP, TCP, DNS, ping, Docker and other services with alerts and status pages.