docker-container-rerun-all
БесплатноЗапускает вложенные скриптыНе проверенSequentially check and optionally update all docker run containers that already have fixed recreate commands recorded in long-term memory. Use when the user…
от ugvfpdcuwfnh1 065 установок в других каталогахОб этом скилле
Docker Container Rerun All
Batch-check remembered docker run containers conservatively.
Use this skill to discover every container that already has a fixed recreate command recorded in long-term memory, then process them one by one with the same image-Id comparison workflow used by docker-container-rerun.
Preconditions
Use this skill only when all of the following are true:
- The target containers were originally created with
docker run, notdocker compose. - Each target container already has a full fixed recreate command recorded in
MEMORY.md. - The sibling skill
docker-container-rerunis installed and available locally. - The current machine can run Docker commands against the target Docker daemon.
- The user understands that
--applymay stop, remove, and recreate containers when image Ids changed.
Do not use this skill when recreate commands are missing, incomplete, reconstructed from memory, or only partially known.
Dependencies
This skill has two explicit dependencies:
- sibling skill:
docker-container-rerun - long-term memory file:
MEMORY.md
Required sibling skill
This skill calls the bundled script from the sibling skill directory:
../docker-container-rerun/scripts/update_docker_run_container.py
If docker-container-rerun is missing or broken, fix that first before using this skill.
Required MEMORY.md structure
This skill parses container recreate commands from the section header below inside MEMORY.md, or dynamically follows modular memory files referenced in MEMORY.md (e.g. memory/docker_containers_recreate.md):
## 已记住的 Docker 容器固定重建命令
Under that section, each remembered container entry should include:
- a list item whose bold label contains the container name in backticks
- descriptive text mentioning
docker run - a fenced
bashcode block containing the exact recreate command
Example entry using autoheal:
## 已记住的 Docker 容器固定重建命令
- **`autoheal`**:固定 docker run 重建命令
```bash
docker run -d \
--name autoheal \
--restart unless-stopped \
-e AUTOHEAL_CONTAINER_LABEL=all \
-e AUTOHEAL_INTERVAL=30 \
-e AUTOHEAL_START_PERIOD=300 \
-e CURL_TIMEOUT=30 \
-v /var/run/docker.sock:/var/run/docker.sock \
willfarrell/autoheal:latest
Keep the recreate command exact. Do not rewrite it from `docker inspect`, and do not omit flags that matter.
## Apply Modes
This skill supports two modes:
### Non-apply mode (default)
Command:
```bash
python3 scripts/run_all_docker_reruns.py
Behavior:
- reads
MEMORY.md - discovers remembered containers dynamically
- pulls the latest image for each remembered container
- compares current image Id vs latest image Id
- reports which containers need recreation
- does not stop, remove, or recreate any container
Use this mode when the user wants a safe inspection pass first.
Apply mode
Command:
python3 scripts/run_all_docker_reruns.py --apply
Behavior:
- performs the same checks as non-apply mode
- for containers whose image Id changed, runs the sibling
docker-container-rerunapply workflow - may stop, remove, and recreate matching containers sequentially
- leaves already up-to-date containers unchanged
Use this mode only when the user explicitly wants real container recreation.
Workflow
- Read
MEMORY.mdand locate the section that stores fixed recreate commands for remembereddocker runcontainers. - Build the working container list dynamically from memory.
- Do not hardcode container names in the skill logic.
- If the user adds more remembered recreate commands later, include them automatically.
- For each discovered container, preserve the exact remembered
docker runcommand. - Process containers sequentially, never in parallel.
- Use the bundled script to run the same check/apply workflow as
docker-container-rerunfor each container. - Report results in three groups with polished Chinese wording:
- 已更新
- 已是最新
- 执行失败
- For every updated container, include:
- container name
- image reference
- image tag
- previous image Id
- latest image Id
- version hint when the image tag contains a meaningful version string
- Prefer a Telegram-friendly Chinese summary instead of dumping raw JSON directly to the user.
Safety Rules
- Treat
MEMORY.mdas the source of truth for the container list and fixed recreate commands. - Do not reconstruct missing flags from
docker inspect. - Do not silently edit remembered
docker runcommands. - Run containers one by one in sequence.
- If memory parsing fails for a container, put it in the failed group and continue with the next one.
- If the user asked only to create the skill, do not execute updates.
- When actual recreation is requested later, use
--applyexplicitly.
Bundled Script
Use the bundled script for deterministic batch execution from the skill directory:
python3 scripts/run_all_docker_reruns.py
Add --apply onl
Установить docker-container-rerun-all в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл docker-container-rerun-all?
Sequentially check and optionally update all docker run containers that already have fixed recreate commands recorded in long-term memory. Use when the user wants a batch refresh of remembered docker-run-managed containers, wants dynamic discovery from MEMORY.md instead of a hardcoded list, and wants the results grouped into updated, already up-to-date, and failed containers with image tag and image Id change details.
Как установить скилл docker-container-rerun-all?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл docker-container-rerun-all запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub