docker-management

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

19|4|Updated Apr 22, 2026
One-click install
npx skills add https://github.com/carterwayneskhizeine/hermes-agent-windows-R --skill docker-management-carterwayneskhizeine
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docker-management
Source: https://github.com/carterwayneskhizeine/hermes-agent-windows-R/tree/main/optional-skills/devops/docker-management
Command: npx skills add https://github.com/carterwayneskhizeine/hermes-agent-windows-R --skill docker-management-carterwayneskhizeine

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

Docker environments often get stuck, grow too large, or fail to start correctly, and teams need a reliable way to manage containers, images, volumes, networks, and Compose stacks without guesswork.

Core Features & Use Cases

  • Container lifecycle operations: Start, stop, restart, remove, and pause/unpause containers while confirming status and health.
  • Debugging and inspection: Diagnose issues using logs, exec shells, inspect outputs, stats, and process visibility.
  • Image and storage hygiene: Build, tag, prune dangling images, and reclaim disk space using Docker system reports and targeted cleanup.
  • Docker Compose stack management: Bring up/down multi-service apps, validate resolved config, and inspect per-service logs.

Quick Start

Ask the AI to help you restart a Docker Compose stack safely by running docker compose down followed by docker compose up -d for the project in your current directory.

Frequently Asked Questions about docker-management

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

FAQPage Schema
How do I safely clean up Docker images and volumes to reclaim disk space?

Clean up Docker images and volumes by running targeted prune commands and reviewing Docker system reports first. This reclaims disk space by removing dangling images and orphaned storage layers while validating active containers to prevent unintended data loss during deletion.

Why does my Docker Compose stack fail to start correctly?

Docker Compose stacks fail to start due to port conflicts, misconfigured environment variables, or unhealthy dependencies. Diagnose these failures by inspecting per-service logs, validating the resolved configuration, and checking container health and process visibility.

What is the best way to restart a Docker Compose stack without losing data?

The best way to restart a Docker Compose stack without losing data is running `docker compose down` followed by `docker compose up -d`. This safely tears down and rebuilds the multi-service app while preserving persistent volume data.

How do I debug a stuck Docker container using the command line?

Debug a stuck Docker container using the CLI by accessing an exec shell, reviewing container logs, and running `docker inspect` to check status and health. Use `docker stats` to monitor resource consumption and identify operational bottlenecks.

Can I manage Docker container lifecycle operations like pause and restart via CLI?

Yes, you can manage Docker container lifecycle operations via CLI by running start, stop, restart, remove, and pause/unpause commands. Each action requires validation through `docker ps` and logs to confirm the resulting container status and health.

When should I avoid pruning Docker networks and volumes?

Avoid pruning Docker networks and volumes when containers are actively running or when storage layers contain critical unpersisted data. Always inspect active processes and validate system reports before executing cleanup to prevent unintended data loss.