docker-management

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Docker-based projects often stall or degrade due to container lifecycle issues, image bloat, misconfigured Compose stacks, stuck volumes, or disk space exhaustion.

Core Features & Use Cases

  • Container lifecycle & debugging: Start/stop/restart/remove containers, inspect details, and troubleshoot crashes via logs and interactive shells.
  • Image management & optimization: Build, tag, pull/push, inspect layers/history, and prune unused images safely.
  • Compose + storage/network control: Bring up/down multi-service stacks, validate resolved config, and manage volumes and networks (including targeted cleanup).

Quick Start

Tell the skill to start your Compose stack in detached mode with: docker compose up -d.

Frequently Asked Questions about docker-management

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

FAQPage Schema
How do I troubleshoot a crashed Docker container using logs?

To troubleshoot a crashed Docker container, inspect container details and access logs to identify the root cause of the failure. This skill supports log-driven debugging and interactive shell access to resolve container lifecycle issues.

Can I bring up a multi-service Docker Compose stack in detached mode?

Yes, you can bring up multi-service Docker Compose stacks in detached mode using standard CLI commands. This skill manages the full Compose lifecycle, including bringing stacks up and down and validating the resolved configuration.

What's the best way to clean up Docker volumes and reclaim disk space?

The best way to reclaim disk space is to perform targeted cleanup of stuck Docker volumes and prune unused images safely. This skill manages storage and network resources to prevent disk space exhaustion before outages occur.

How do I optimize Docker image builds and inspect layer history?

To optimize Docker image builds, inspect the image layers and history to identify bloat, then rebuild and tag efficiently. This skill provides image management and Dockerfile optimization guidance to reduce image size.

Do I need additional tools to manage Docker networks and Compose stacks?

No, you only need standard Docker CLI commands to manage networks and Compose stacks. This skill operates without external dependencies, supporting lifecycle operations, network debugging, and configuration validation natively.