Skip to content
aj-geddes avatar

Container Debugging

Debugging workflow for Docker containers covering startup failures, crashes, resource limits, and networking.

CCM score
35 of 100
skills.sh installs
496
GitHub stars
396
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers container startup failures, application crashes, exceeded resource limits, network connectivity problems, and runtime performance issues
  • Includes Docker inspection commands such as docker ps -a, docker inspect, docker stats, docker logs --follow, and docker exec -it
  • Provides four reference guides: debugging basics, common container issues, container optimization, and a debugging checklist
  • Designed for developers and operators diagnosing deployment issues and container lifecycle problems in Docker and Kubernetes environments

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill container-debugging -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Container Debugging

Table of Contents

Overview

Container debugging focuses on issues within Docker/Kubernetes environments including resource constraints, networking, and application runtime problems.

When to Use

  • Container won't start
  • Application crashes in container
  • Resource limits exceeded
  • Network connectivity issues
  • Performance problems in containers

Quick Start

Minimal working example:

# Check container status
docker ps -a
docker inspect <container-id>
docker stats <container-id>

# View container logs
docker logs <container-id>
docker logs --follow <container-id>  # Real-time
docker logs --tail 100 <container-id>  # Last 100 lines

# Connect to running container
docker exec -it <container-id> /bin/bash
docker exec -it <container-id> sh

# Inspect container details
docker inspect <container-id> | grep -A 5 "State"
docker inspect <container-id> | grep -E "Memory|Cpu"

# Check container processes
docker top <container-id>

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Categories
Debugging, DevOps & Cloud
First seen
Jun 3, 2026

Questions

What does the container-debugging skill do?

The container-debugging skill helps an agent debug Docker containers and containerized applications. It covers diagnosing deployment issues, container lifecycle problems, and resource constraints inside Docker and Kubernetes environments.

When should I use the container-debugging skill?

Use container-debugging when a container won't start, an application crashes inside its container, resource limits are exceeded, network connectivity fails, or performance problems appear in containers. It guides the agent through checking status with docker ps, docker inspect and docker stats, and reading logs with docker logs.

How do I install the container-debugging skill?

Run npx -y skills add aj-geddes/useful-ai-prompts --skill container-debugging -y in your project. Once installed, the container-debugging skill lets the agent run Docker inspection and log commands against your containers.

Which category is container-debugging in, and what sets it apart?

The container-debugging skill is listed in the Debugging category on Claude Marketplaces. Its focus is narrow: it targets Docker and containerized application problems rather than general code bugs.

More from aj-geddes/useful-ai-prompts

All 258

Similar to Container Debugging

More Debugging