docker-debug

Debug Docker containers with CLI workflows for logs, exec, inspect, stats, and network commands.

1|1|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/dennisonbertram/go-agent-harness --skill docker-debug-dennisonbertram
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docker-debug
Source: https://github.com/dennisonbertram/go-agent-harness/tree/main/skills/docker-debug
Command: npx skills add https://github.com/dennisonbertram/go-agent-harness --skill docker-debug-dennisonbertram

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Debug Docker containers by providing quick, repeatable guidance to view logs, execute commands inside containers, inspect state, monitor resources, and troubleshoot networks, reducing MTTR and context switching.

Core Features & Use Cases

  • Live log inspection: use docker logs with common flags to monitor output and history.
  • Inline container interaction: docker exec to run commands inside a running container (sh/bash).
  • State inspection & diagnostics: docker inspect to retrieve status, config, and health data.
  • Resource and network troubleshooting: docker stats, docker network commands to diagnose performance and connectivity issues.
  • Use Case: quickly triage a failing service by following a guided sequence from logs to an interactive shell and a state dump.

Quick Start

Run a quick diagnostic against a running container to stream logs, spawn a shell, and print the container's basic state.

Frequently Asked Questions about docker-debug

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

FAQPage Schema
How do I debug a failing Docker container?

To debug a failing Docker container, use a guided sequence starting with docker logs to view output, docker inspect for state diagnostics, and docker exec to run commands. This workflow quickly triages issues from logs to an interactive shell and state dump.

How do I view live logs for a running Docker container?

View live logs for a running Docker container using the docker logs command with common flags to monitor output and history. This provides quick, repeatable guidance for live log inspection without requiring external monitoring tools.

What is the best way to inspect a Docker container's state and health?

The best way to inspect a Docker container's state and health is using docker inspect to retrieve status, config, and health data. This command provides detailed diagnostics for troubleshooting container issues across local or remote environments.

Can I run commands inside a running Docker container to troubleshoot it?

Yes, you can run commands inside a running Docker container using docker exec to spawn an interactive sh or bash shell. This inline container interaction allows you to safely triage and repair issues directly within the running environment.

How do I troubleshoot Docker container network and resource issues?

Troubleshoot Docker container network and resource issues using docker stats and docker network commands. These commands diagnose performance bottlenecks and connectivity problems, providing guardrails to safely repair networking issues across local or remote environments.