Check running Docker containers for newer image versions and generate a prioritized update report. Fetches release notes and flags breaking changes vs safe updates. Use when asked about container updates, docker updates, outdated containers, update check, what needs updating, are my containers up to date, or any request to review Docker image versions.
检查所有正在运行的Docker容器与Docker Hub上的较新版本,获取变更日志,并输出带有风险标记的优先级Markdown报告。
所有脚本均位于相对于此文件的 scripts/ 目录中。请在该目录下运行。
| 脚本 | 用途 |
|---|---|
| scancontainers.py | 列出正在运行的容器及镜像标签(输出JSON) |
| checkupdates.py |
bash
python3 scan_containers.py \
| python3 check_updates.py \
| python3 fetch_changelog.py \
| python3 format_report.py
如需保存中间输出以便调试,可将每个脚本的输出作为文件参数传递给下一个脚本:
bash
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
设置 GITHUB_TOKEN 环境变量可将GitHub API请求限制从60次/小时提升至5,000次/小时:
bash
export GITHUBTOKEN=ghpyourtoken
请参阅 references/setup-guide.md 了解调度、速率限制以及镜像匹配的工作原理。
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 container-update-advisor-1775932705 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 container-update-advisor-1775932705 技能
skillhub install container-update-advisor-1775932705
文件大小: 14.03 KB | 发布时间: 2026-4-12 09:34