Agent skill
pmtl-runbook-docker-dev-recovery
PMTL_VN Docker recovery runbook. Use when Docker Desktop, compose-backed dev services, or local infrastructure stop booting correctly and the agent needs the documented recovery path instead of trial-and-error.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/pmtl-runbook-docker-dev-recovery
SKILL.md
PMTL Runbook Docker Dev Recovery
Purpose
Provide the canonical PMTL dev-lane recovery path when Docker Desktop, compose-backed services, or local infrastructure stop booting correctly.
Use When
- Docker Desktop is down, stuck, or cannot serve Compose commands.
infra/docker/compose.dev.ymlservices fail to boot in local dev.- The task is incident recovery for local/dev infra, not feature implementation.
Required Inputs
- current failure symptom such as Docker unavailable, compose failure, or service unhealthy
- whether this is local/dev only or mixed with app/runtime failure
- any diagnostics already collected
Expected Output
- A recovered Docker dev environment or a cleanly documented blocked state with diagnostics.
- No random edits to compose files or repo config before the documented recovery path is exhausted.
Read First
infra/scripts/docker-recover.ps1docs/troubleshooting.mddocs/runbooks.md
Execution Approach
- Confirm Docker Desktop service availability.
- Run the recovery script before touching compose files.
- Re-check compose service health after the engine is ready.
- Only then restart the PMTL dev stack.
Command
powershell -ExecutionPolicy Bypass -File infra/scripts/docker-recover.ps1
If Docker still does not come back, collect diagnostics instead of guessing.
Verification
- Confirm
docker infosucceeds before retrying stack commands. - Confirm
docker compose ... psshows the expected core services as running or healthy. - Confirm the PMTL dev stack can boot again via the normal repo entrypoint, not just that Docker Desktop reopened.
- If recovery fails, stop and capture diagnostics rather than mutating compose or env files blindly.
Quality Criteria
- Recovery follows the documented path instead of trial-and-error edits.
- The result is observable: Docker reachable, compose services responsive, PMTL stack restartable.
- Incident notes distinguish
Docker engine failure,compose wiring failure, andapp boot failure.
Edge Cases
- Windows host restarts can leave Docker Desktop open but engine-unready.
- Compose may be healthy while one PMTL service still fails for app-specific reasons; at that point switch from Docker recovery to the relevant app/runtime lane.
- Do not treat production Docker guidance as interchangeable with this local/dev recovery skill.
References
infra/scripts/docker-recover.ps1docs/troubleshooting.mddocs/runbooks.mdAGENTS.md
Pair with
pmtl-production-baselinewhen the incident crosses from Docker into app runtime policy.pmtl-automation-smoke-suiteafter recovery when a smoke command is the fastest confidence check.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?