docker-debugger

Inspect container status, logs, and network connectivity in Docker Compose setups.

Updated Mar 14, 2026
One-click install
npx skills add https://github.com/ksopyla/agent-patterns-lab --skill docker-debugger
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docker-debugger
Source: https://github.com/ksopyla/agent-patterns-lab/tree/main/.cursor/skills/docker-debugger
Command: npx skills add https://github.com/ksopyla/agent-patterns-lab --skill docker-debugger

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the challenges of debugging Docker Compose setups, particularly for complex multi-container agent deployments.

Core Features & Use Cases

  • Container Status Checking: Inspects running, stopped, or restarting containers.
  • Log Reading: Retrieves stdout and stderr logs for specific containers.
  • Network and Volume Inspection: Confirms network connectivity and persistent volumes.
  • Container Control: Starts, stops, and rebuilds individual containers.
  • Use Case: When a Docker build fails, or a container won't start, this Skill can help diagnose and resolve issues.

Quick Start

Use the docker-debugger skill to list all running containers and their statuses.

Frequently Asked Questions about docker-debugger

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

FAQPage Schema
How do I debug a Docker Compose container that won't start?

To debug a Docker Compose container that won't start, inspect the container status and retrieve its stdout and stderr logs to identify the failure. You can verify network connectivity and check persistent volumes to resolve startup issues.

Why does my Docker Compose multi-container deployment lose network connectivity?

Network connectivity in Docker Compose deployments is lost when configurations are mismatched or containers restart unexpectedly. Inspect the network settings and verify connectivity between containers to diagnose and resolve the networking issue.

What's the best way to check logs for a specific container in a Docker Compose setup?

The best way to check logs for a specific container in a Docker Compose setup is to read its stdout and stderr outputs directly. This isolates errors and helps diagnose why the container is failing or restarting.

Can I stop and rebuild individual containers without affecting the whole Docker Compose setup?

You can stop and rebuild individual containers without affecting the entire Docker Compose setup. Container control features allow you to target specific services, inspect their status, and apply changes only where needed.

Do I need Docker CLI installed to debug a Docker Compose setup?

You need both Docker Compose and Docker CLI installed to debug a Docker Compose setup. These dependencies are required to execute the commands that inspect container statuses, read logs, and verify network connectivity.

How does container status checking help diagnose failing Docker builds?

Container status checking helps diagnose failing Docker builds by identifying whether containers are running, stopped, or stuck in a restart loop. This status information guides the inspection of logs and network connectivity to resolve the build failure.