Stats
Actions
Tags
From cogni-ai-dev-ops
How to run, manage, and troubleshoot Docker containers, images, and networks safely via the command line.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cogni-ai-dev-ops:dockerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
<!-- markdownlint-disable MD013 MD023 MD031 MD032 -->
Execute, inspect, and manage Docker containers, images, and network components directly via the CLI, adhering to safe operational boundaries.
-it or interactive pseudo-TTY modes when executing container commands autonomously. Always run in detached (-d) or batch execution modes.--rm for ephemeral run commands to prevent container accumulation. Clean up unused images regularly using docker system prune, and prune unused volumes with docker volume prune or docker system prune --volumes.-v, strictly use absolute paths ($PWD or full paths) rather than relative paths.--format '{{json .}}') for robust parsing.docker run --rm -v "$PWD":/work -w /work <image> <command>docker run -d --name <container_name> -p <host_port>:<container_port> <image>docker exec <container_name> <command>
(Avoid -it for automated agent workflows)docker logs --timestamps --tail 50 <container_name>docker inspect --format='{{json .State.Health}}' <container_name>docker ps --format '{"ID":"{{.ID}}", "Image": "{{.Image}}", "Names":"{{.Names}}", "Status":"{{.Status}}"}'docker build -t <image_name>:<tag> -f <Dockerfile_path> .docker logs <container_name> to trace startup errors.permission denied errors inside the container, verify host directory permissions or apply SELinux volume labels (:z or :Z).docker network inspect <network_name>.docker run -it or docker exec -it). These will hang automated agents.docker ps or docker images output using grep or awk when --format json templating is available.-e PASSWORD=xyz). Use docker secret (Swarm) or mount credential files securely.docker login without a password feed).Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub cogni-ai-ou/cogni-ai-agentic-collections --plugin cogni-ai-dev-ops