Container Update Advisor
/install container-update-advisor
Container Update Advisor
Check all running Docker containers against Docker Hub for newer versions, fetch changelogs, and output a prioritized markdown report with risk flags.
Scripts
All scripts live in scripts/ relative to this file. Run from that directory.
| Script | Purpose |
|---|---|
scan_containers.py |
List running containers + image tags (outputs JSON) |
check_updates.py |
Query Docker Hub for newer versions (stdin/file → JSON) |
fetch_changelog.py |
Fetch GitHub release notes for updated images (stdin/file → JSON) |
format_report.py |
Render prioritized markdown report (stdin/file → stdout) |
Full Pipeline
python3 scan_containers.py \
| python3 check_updates.py \
| python3 fetch_changelog.py \
| python3 format_report.py
To save intermediate output for debugging, pass each script's output as a file argument to the next:
python3 scan_containers.py > /tmp/c.json
python3 check_updates.py /tmp/c.json > /tmp/u.json
python3 fetch_changelog.py /tmp/u.json > /tmp/ch.json
python3 format_report.py /tmp/ch.json
Risk Assessment Logic
- Major version bump → 🔴 review first
- Minor version bump → 🔴 review first (may have API changes)
- Changelog mentions "breaking" → 🔴 review first
- Patch bump only, no breaking keywords → 🟢 safe to update
What Gets Skipped
- Containers using
latesttag (no version to compare) - Digest-pinned images (
sha256:...tags) - Non-Docker Hub registries (GHCR, ECR, etc.)
- Private images (401/403 → skipped gracefully)
- Non-semver tags (e.g.
alpine,focal,slim)
GitHub Token (Optional)
Set GITHUB_TOKEN env var to increase GitHub API from 60 → 5,000 req/hr:
export GITHUB_TOKEN=ghp_yourtoken
Reference
See references/setup-guide.md for scheduling, rate limits, and how image matching works.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install container-update-advisor - 安装完成后,直接呼叫该 Skill 的名称或使用
/container-update-advisor触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Container Update Advisor 是什么?
Check running Docker containers for newer image versions and generate a prioritized update report. Fetches release notes and flags breaking changes vs safe u... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 120 次。
如何安装 Container Update Advisor?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install container-update-advisor」即可一键安装,无需额外配置。
Container Update Advisor 是免费的吗?
是的,Container Update Advisor 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Container Update Advisor 支持哪些平台?
Container Update Advisor 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Container Update Advisor?
由 New Age Investments(@newageinvestments25-byte)开发并维护,当前版本 v1.0.0。