Agent skill
docker
Manage Docker containers, images, networks, and volumes using the Docker CLI.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/docker-thinkfleetai-thinkfleet-engine
Metadata
Additional technical details for this skill
- thinkfleetbot
-
{ "emoji": "\ud83d\udc33", "requires": { "bins": [ "docker" ] } }
SKILL.md
Docker
Manage Docker containers, images, networks, and volumes.
List containers
docker ps --format "table {{.Names}}\t{{.Image}}\t{{.Status}}\t{{.Ports}}"
docker ps -a --format "table {{.Names}}\t{{.Status}}\t{{.Image}}" | head -20
Container logs
docker logs my-container --tail 50
docker logs my-container --since 1h --follow &
Start / stop / restart
docker start my-container
docker stop my-container
docker restart my-container
Run a container
docker run -d --name my-app -p 8080:80 nginx:latest
Execute command in container
docker exec my-container ls -la /app
docker exec -it my-container sh
Inspect container
docker inspect my-container | jq '.[0] | {State, NetworkSettings: .NetworkSettings.Networks}'
List images
docker images --format "table {{.Repository}}\t{{.Tag}}\t{{.Size}}\t{{.CreatedSince}}" | head -20
Build image
docker build -t my-app:latest .
Remove container / image
docker rm my-container
docker rmi my-app:latest
Docker Compose
docker compose ps
docker compose up -d
docker compose logs --tail 50
System info
docker system df
docker system prune --dry-run
Networks
docker network ls
Volumes
docker volume ls
Notes
- Docker socket must be mounted for the agent to access the host Docker daemon.
- Use
--formatwith Go templates for structured output. - Always confirm before removing containers, images, or running
prune. - Use
docker compose(v2) instead ofdocker-compose(v1).
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?