docker-management

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing Docker resources across development and production environments is error-prone, time-consuming, and can lead to downtime or wasted disk space when containers, images, volumes, or networks are mismanaged.

Core Features & Use Cases

  • Container lifecycle management: run, stop, restart, remove, inspect, and attach to containers for debugging.
  • Image and Compose operations: build, tag, push, pull, orchestrate multi-service stacks with Docker Compose, and perform targeted cleanup of unused images and resources.
  • Volumes, networks, diagnostics, and Dockerfile optimization to reduce image size and runtime issues. Example: recover a crashed web service by inspecting logs, restarting or rebuilding the service, and pruning unused images and volumes to reclaim disk space.

Quick Start

Use this skill to stop a failing container named web, inspect its logs, restart it, and prune dangling images to free disk space.

Frequently Asked Questions about docker-management

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

FAQPage Schema
How do I manage Docker containers and troubleshoot a crashed service?

Manage Docker containers by running, stopping, restarting, inspecting, and attaching to them for debugging. You can recover a crashed service by inspecting logs, restarting the container, and rebuilding the image if necessary.

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

Clean up unused Docker resources by pruning dangling images and volumes. This targets orphaned data to reclaim disk space, optimizing your development and production environments from wasted storage.

Can I orchestrate multi-service Docker Compose stacks for production scenarios?

Yes, you can orchestrate multi-service Docker Compose stacks. Use Docker Compose v2 to build, tag, push, and orchestrate complex multi-service architectures for both development and production scenarios.

Do I need Docker Engine and sudo access to manage volumes and networks?

Yes, you need Docker Engine and Docker Compose v2 installed. You also need a user with docker group membership or sudo access to execute CLI operations for managing volumes and networks.

How do I optimize Dockerfile builds to reduce image size and runtime issues?

Optimize Dockerfile builds by applying targeted diagnostics and cleanup strategies. This reduces image size and resolves runtime issues by removing unnecessary layers and pruning unused resources.

Why does managing Docker containers across environments lead to wasted disk space?

Managing Docker containers across environments is error-prone and leads to wasted disk space when images, volumes, or networks are mismanaged. Proper lifecycle operations and targeted pruning prevent this downtime and waste.