← 返回
未分类 中文

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...
检查正在运行的 Docker 容器,查找更新的镜像版本,生成优先级更新报告。获取发行说明,标记破坏性变更与安全更新。
newageinvestments25-byte
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 418
下载
💾 0
安装
1
版本
#latest

概述

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.

ScriptPurpose
------
scan_containers.pyList running containers + image tags (outputs JSON)
check_updates.pyQuery Docker Hub for newer versions (stdin/file → JSON)
fetch_changelog.pyFetch GitHub release notes for updated images (stdin/file → JSON)
format_report.pyRender 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 latest tag (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.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-03 11:07 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Isp Throttle Detective

newageinvestments25-byte
运行速度测试到多个端点,记录结果,并检测 ISP 限流模式。
★ 0 📥 406

Workflow Crystallizer

newageinvestments25-byte
分析记忆日志,检测重复出现的模式,并建议自动化(cron 任务、技能或工作流快捷方式)。代理会逐步构建自己的快捷方式。
★ 0 📥 441

Status Page Gen

newageinvestments25-byte
从JSON配置生成深色主题的静态HTML状态页面,汇总自托管服务的健康检查、ping、SSL证书和运行时间
★ 0 📥 418