Docker Management

SkillCloud & infra

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

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Docker Management skill

What this skill tells your AI

The instructions your AI receives, as published by metaspartan/cybara in skills/docker-management/SKILL.md and read by ahel’s review.

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

First Checks

docker --version
docker compose version
docker info

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

Common Tasks

TaskCommand
Running containersdocker ps
All containersdocker ps -a
Logsdocker logs --tail 100 <name>
Follow logsdocker logs --tail 100 -f <name>
Shelldocker exec -it <name> /bin/sh
Inspectdocker inspect <name>
Statsdocker stats --no-stream
Compose statusdocker compose ps
Compose logsdocker compose logs --tail 100
Disk usagedocker 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:

docker system df
docker image prune
docker container prune

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

Signals

GitHub stars
28
Forks
7
Last commit
Sep 2026

ahel review

  • S4info
    community integration — published by metaspartan, not docker

Automated review, not a security audit. Ruleset v1.

Advanced
Catalog kind
skill
Gateway key
docker-management-metaspartan
Source
github.com/metaspartan/cybara