docker-management

Manage Docker containers, images, volumes, networks, and Compose stacks.

Updated May 4, 2026
One-click install
npx skills add https://github.com/JamesFincher/gengar --skill docker-management-jamesfincher
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docker-management
Source: https://github.com/JamesFincher/gengar/tree/main/optional-skills/devops/docker-management
Command: npx skills add https://github.com/JamesFincher/gengar --skill docker-management-jamesfincher

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

Docker deployments often fail in unpredictable ways (crashes, port conflicts, disk pressure, misconfigured Compose stacks), leaving you to manually inspect containers, images, volumes, and networks to restore service.

Core Features & Use Cases

  • Container lifecycle operations: start/stop/restart/remove, inspect status, and enter running containers for interactive debugging.
  • Logs and troubleshooting workflows: follow and filter logs, inspect container details, and identify common failure causes like exit loops or missing resources.
  • Image and Compose stack management: build/pull/push/tag images and manage multi-service stacks with docker compose including validation via resolved config.
  • Volumes, networks, and cleanup: manage persistent storage and connectivity, then reclaim disk space with targeted or system-level pruning (with safety warnings).

Quick Start

Run a detached web stack and immediately review its health by starting it with Docker Compose and then following the service logs for errors.

Frequently Asked Questions about docker-management

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

FAQPage Schema
How do I debug a Docker container that keeps crashing or exiting?

To debug a crashing Docker container, inspect the container status and follow its logs to identify common failure causes like exit loops or missing resources. You can also enter the running container for interactive troubleshooting.

What is the best way to clean up Docker images and volumes to reclaim disk space?

The best way to reclaim disk space is performing targeted or system-level pruning of Docker images and volumes. This process includes safety warnings to prevent accidental data loss during destructive disk-reclaim operations.

How do I start a multi-service Docker Compose stack and check its health?

To start a multi-service Docker Compose stack, run it in detached mode and then follow the service logs to check its health. You can validate the configuration beforehand by inspecting the resolved Compose config.

Can I build, pull, and push Docker images using standard CLI commands?

Yes, you can build, pull, push, and tag Docker images using standard Docker CLI commands. These operations are fully supported for managing image workflows during deployment and debugging.

Why does my Docker deployment fail with port conflicts or misconfigured Compose stacks?

Docker deployments often fail due to port conflicts or misconfigured Compose stacks. You can manually inspect containers, networks, and resolved configurations to identify the exact failure cause and restore service.