docker-operator
Build, run, inspect, and diagnose containers safely - Docker and Compose, Podman, containerd (nerdctl, crictl). Use when debugging images, ports, volumes, or…
by Navinspire-ia★ 37 GitHub stars
Install docker-operator in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Docker Operator
Overview
Operate Docker with least surprise: inspect before restart, prefer Compose files in-repo, avoid destructive prune unless approved.
Engine
Drive these CLIs through the infra tool (providers: docker,podman).
infra action=discover provider=dockerorprovider=podman.infra action=check command="docker ..."(prune, rm -f, volume rm come back critical).infra action=run,infra action=verify(container healthy, port answers).
- Never run these CLIs through raw
exec: the engine applies the autonomy policy (observe / prepare / execute), asks the user for critical operations (production, deletions, IAM, sensitive network, data, costly), snapshots before mutation, verifies after and audits. - Multi-domain missions start from
infra-orchestrator.
Podman and containerd
podman ps -a; podman pod ps; podman logs <c>; podman generate systemd --new --name <c>
podman machine list; podman-compose up -d; podman system df
nerdctl ps -a; nerdctl --namespace k8s.io images
crictl ps -a; crictl pods; crictl logs <id>; crictl inspect <id>
ctr -n k8s.io containers list
On Kubernetes nodes use crictl (read) rather than docker; never remove containers managed by the kubelet.
Common commands
docker ps -a
docker logs --tail 200 <container>
docker compose ps
docker compose logs -f --tail=100
docker image ls
docker inspect <id>
Workflow
- Confirm context (compose file path, service name).
- Inspect running state and recent logs.
- Reproduce the failure with the smallest command.
- Change config/code → rebuild only what is needed.
- Verify healthchecks / HTTP readiness.
Rules
docker system prune/ volume deletes needhuman-approval.- Do not publish privileged containers unless required and approved.
- Never embed secrets in image layers; use env/secrets.
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the docker-operator skill do?
Build, run, inspect, and diagnose containers safely - Docker and Compose, Podman, containerd (nerdctl, crictl). Use when debugging images, ports, volumes, or container logs.
How do I install the docker-operator skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the docker-operator skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
ci-review
AnthropicThe scan that the plugin's GitHub Action runs.
azure-static-web-apps
GitHubHelps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
ai-ready
GitHubMake any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
aws-cdk-python-setup
GitHubSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…