docker-management

Manage Docker container lifecycles, images, and Compose stacks.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/travelinman1013/leroys-agent --skill docker-management-travelinman1013
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docker-management
Source: https://github.com/travelinman1013/leroys-agent/tree/main/optional-skills/devops/docker-management
Command: npx skills add https://github.com/travelinman1013/leroys-agent --skill docker-management-travelinman1013

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing Docker lifecycles, images, networks, and Compose stacks manually is error-prone and time-consuming. This Skill provides deterministic lifecycle operations, streamlined debugging, cleanup, and optimization workflows.

Core Features & Use Cases

  • Container lifecycle management: start, stop, restart, inspect, and remove containers with consistent options.
  • Image and volume handling: build, pull, push, tag images and manage volumes and networks.
  • Docker Compose orchestration: bring up or tear down multi-service stacks with simple commands.
  • Troubleshooting and optimization: collect logs, inspect configurations, and tune resource usage for robust environments.
  • Real-world scenario: set up a local dev environment, run services, and automatically clean up unused artifacts after tests.

Quick Start

Start a detached nginx container named web on port 8080 and confirm the service is reachable at http://localhost:8080.

Frequently Asked Questions about docker-management

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

FAQPage Schema
How do I automate Docker container lifecycle management for local development?

Automate Docker container lifecycle management by applying deterministic start, stop, restart, and remove operations with consistent options. This streamlines local development workflows by ensuring predictable container states without manual intervention.

What is the best way to orchestrate multi-service Docker Compose stacks?

Orchestrate multi-service Docker Compose stacks by bringing up or tearing down environments with simple commands. This coordinates containers, volumes, and networks with validation and safe defaults for predictable operations.

How do I troubleshoot Docker containers and collect logs for debugging?

Troubleshoot Docker containers by collecting logs, inspecting configurations, and tuning resource usage. This applies deterministic debugging workflows to identify issues and optimize robust staging or local environments.

Can I manage Docker images and volumes in CI pipelines without manual cleanup?

Manage Docker images and volumes in CI pipelines by automating build, pull, push, tag, and cleanup operations. This removes unused artifacts after tests, ensuring predictable and clean staging environments.

Do I need Docker Engine and Docker Compose to coordinate container operations?

Docker Engine and Docker Compose are required to coordinate container operations. These dependencies provide the foundational runtime and orchestration capabilities needed to execute lifecycle management and multi-service stack validation.

Why does manual Docker network and volume handling cause errors in staging?

Manual Docker network and volume handling causes errors because it lacks deterministic validation and safe defaults. Automating these lifecycle operations streamlines workflows and prevents time-consuming, error-prone manual configurations.