container_diagnosis

Diagnose Docker container health issues using docker_ps, docker_stats, docker_logs, and docker_inspect.

Updated Jun 15, 2026
One-click install
npx skills add https://github.com/rapporbit/AIOps --skill container-diagnosis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: container_diagnosis
Source: https://github.com/rapporbit/AIOps/tree/main/app/skills/definitions/container_diagnosis
Command: npx skills add https://github.com/rapporbit/AIOps --skill container-diagnosis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Docker containers on a single host can run into crashes, restart loops, high resource usage, or startup failures. This Skill provides a structured, rule-based approach to diagnose container health and collect evidence for remediation.

Core Features & Use Cases

  • Phase-based diagnosis: from existence to health checks to crash analysis, with clear remediation guidance.
  • Single-host Docker scope: focuses on containers (Milvus, Redis, MySQL, or user apps) running locally, not cluster-level orchestrations.
  • Evidence-driven troubleshooting: uses docker_ps, docker_stats, docker_logs, and docker_inspect to determine status and suggested actions.

Quick Start

Start a Docker container diagnosis by selecting the target container and running the playbook to collect status, health, and logs.

Frequently Asked Questions about container_diagnosis

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

FAQPage Schema
How do I diagnose a Docker container that keeps crashing or restarting?

Diagnosing a crashing Docker container involves checking docker_ps, docker_stats, docker_logs, and docker_inspect to identify health issues and restart loops. This structured approach collects evidence for root-cause analysis and remediation planning on single-host environments.

What is the best way to troubleshoot high resource usage in a local Docker container?

Troubleshooting high resource usage in a local Docker container requires analyzing docker_stats and docker_inspect outputs. This identifies resource bottlenecks by examining container health and runtime metrics for applications like Milvus, Redis, or MySQL running on a single host.

Can I use this approach to diagnose Milvus, Redis, or MySQL containers on a single host?

Yes, you can diagnose Milvus, Redis, MySQL, or custom apps running in single-host Docker containers. The diagnosis applies rule-based checks to determine container health, identify crashes, and guide remediation actions for these specific database and application containers.

How does a health check diagnosis work for Docker containers?

A health check diagnosis for Docker containers works by applying a phase-based approach from existence checks to health status and crash analysis. It uses docker_inspect to determine container health and suggests clear remediation actions based on the collected evidence.

Does this Docker diagnosis method work for cluster-level orchestrations like Kubernetes?

No, this Docker diagnosis method does not work for cluster-level orchestrations. It is scoped specifically to single-host Docker environments, focusing on local containers rather than distributed cluster-level orchestrations or multi-node container deployments.