Skip to content
Agentmart
Submit a tool

docker-management

Manage and debug Docker containers, images, volumes, networks, Compose stacks, and Dockerfile performance/safety.

Skill by metaspartan

IndexedMIT★ 32
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/metaspartan-docker-management

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Manage and debug Docker containers, images, volumes, networks, Compose stacks, and Dockerfile performance/safety.

Use cases: devops

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/docker-management

What's inside

Skill name
docker-management
Description
Manage and debug Docker containers, images, volumes, networks, Compose stacks, and Dockerfile performance/safety.
License
MIT
Instructions
62 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Docker Management

Use this for container lifecycle operations, Compose stacks, image builds, logs, disk cleanup, and Dockerfile review.

## First Checks

```bash
docker --version
docker compose version
docker info
```

If Docker is not running, stop and report that instead of guessing.

## Common Tasks

| Task | Command |
|---|---|
| Running containers | `docker ps` |
| All containers | `docker ps -a` |
| Logs | `docker logs --tail 100 <name>` |
| Follow logs | `docker logs --tail 100 -f <name>` |
| Shell | `docker exec -it <name> /bin/sh` |
| Inspect | `docker inspect <name>` |
| Stats | `docker stats --no-stream` |
| Compose status | `docker compose ps` |
| Compose logs | `docker compose logs --tail 100` |
| Disk usage | `docker system df` |

## Debugging Flow

1. Identify the failing container or service.
2. Check status and exit code with `docker ps -a` or `docker compose ps`.
3. Read logs from the failing service only.
4. Inspect env, mounts, ports, healthcheck, restart policy, and network.
5. Reproduce with the smallest command or Compose service.
6. Fix the image/config and rebuild.

## Dockerfile Review

Check for:

- Pinned base image and runtime versions.
- Multi-stage builds for compiled/bundled apps.
- No secrets in `ARG`, `ENV`, layers, or copied files.
- Non-root runtime user.
- Small runtime image and explicit healthcheck where useful.
- Dependency install before source copy when caching matters.

## Cleanup Safety

Never run destructive cleanup without checking impact:

```bash
docker system df
docker image prune
docker container prune
```

Ask before `docker system prune -a --volumes`; it can remove data and rebuild caches.

From metaspartan/cybara, MIT.

More from metaspartan/cybara

Signals

Stars
32
Forks
9
Open issues
0
Last commit (this folder)
Jul 3, 2026 (3 months ago)
Last release
Oct 24, 2026 (6 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
Website
cybara.ai
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from metaspartan

Cite this page

docker-management skill. Agent Mart. https://agentmart.dev/skills/metaspartan-docker-management (last updated 2026-10-24)