ssh-docker-incident-response

Diagnose and resolve Docker container issues via SSH commands.

6|Updated Apr 17, 2026
One-click install
npx skills add https://github.com/Nightreaver/python-ssh-mcp --skill ssh-docker-incident-response
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ssh-docker-incident-response
Source: https://github.com/Nightreaver/python-ssh-mcp/tree/main/runbooks/ssh-docker-incident-response
Command: npx skills add https://github.com/Nightreaver/python-ssh-mcp --skill ssh-docker-incident-response

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides a structured approach to diagnose and resolve issues with Docker containers, streamlining incident response and improving system reliability.

Core Features & Use Cases

  • Container Inventory: List all containers, including stopped ones, and determine their status.
  • Resource Triage: Assess host-level resource pressure and recent events impacting container performance.
  • Container Analysis: Inspect container metadata and logs to identify the root cause of failures.
  • Compose-Stack Analysis: Diagnose issues within multi-container Docker Compose stacks.
  • Disk Pressure Management: Prune Docker data to alleviate disk pressure and recover from out-of-space conditions.
  • Recovery Actions: Restart containers, roll back stacks, or stop/start services to recover from failures.
  • Escalation Guidance: Identify when to escalate to a human operator for complex issues.
  • Quick Start: Use the skill to diagnose a failing Docker container by executing a series of predefined commands.

Quick Start

Run the 'ssh-docker-incident-response' skill to initiate a diagnostic process for a failing Docker container.

Frequently Asked Questions about ssh-docker-incident-response

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I diagnose a failing Docker container via SSH?

Diagnosing a failing Docker container requires SSH access to execute commands that list inventories, inspect metadata, and analyze logs to identify root causes. This structured approach streamlines incident response and improves system reliability.

What is the best way to resolve Docker Compose stack issues?

Resolving Docker Compose stack issues involves analyzing multi-container stacks to identify failures and executing recovery actions like rolling back stacks. This approach isolates stack-level problems for targeted system recovery.

How do I fix Docker disk pressure and out-of-space conditions?

Fixing Docker disk pressure requires pruning Docker data to alleviate storage constraints and recover from out-of-space conditions. This action clears unused data to restore host-level resource availability.

Do I need SSH access to run Docker incident response tasks?

Yes, you need SSH access to Docker hosts and the ability to execute Docker commands to run incident response tasks. This access is required to perform resource triage, inspect container logs, and execute recovery actions.

When should I escalate a Docker container failure instead of restarting it?

You should escalate a Docker container failure when diagnostic procedures identify complex issues beyond standard recovery actions like restarting containers or rolling back stacks. Escalation guidance determines when to involve a human operator.

Can I recover a stopped Docker container using automated triage?

Yes, you can recover a stopped Docker container using automated triage by assessing host-level resource pressure and executing recovery actions like start or restart commands. This includes stopped containers in the inventory for complete status determination.