docker
БесплатноЗапускает вложенные скриптыНе проверенDocker container and image management with native docker CLI integration. Use when you need to manage containers, images, networks, volumes, or run Docker…
Об этом скилле
Docker Skill
Comprehensive Docker container and image management through native Docker CLI execution. This skill provides 30 tools for managing your containers, images, networks, volumes, and Docker Compose stacks.
When to Use
- Managing Docker containers (run, exec, logs, stop, start, restart)
- Building and managing Docker images (build, pull, push, tag)
- Viewing container status and resource usage
- Managing Docker networks and volumes
- Running Docker Compose stacks
- Cleaning up unused Docker resources
Requirements
dockermust be installed and in PATH- Docker daemon must be running
- Appropriate permissions to access Docker socket
- For Compose: Docker Compose V2 (included in Docker Desktop)
Tools Provided
Container Lifecycle Tools
run
Create and start a new container.
Parameters:
image(required): Container image name[:tag]name(optional): Container namedetach(optional): Run in background (true/false)ports(optional): Port mappings (e.g., "8080:80" or "8080:80,443:443")volumes(optional): Volume mounts (e.g., "/host:/container" or "/data:/app/data,/logs:/app/logs")env(optional): Environment variables (e.g., "KEY=value" or "DB_HOST=localhost,DB_PORT=5432")network(optional): Network to connect torm(optional): Remove container when it exits (true/false)command(optional): Command to run in container
Example:
skill run docker run image=nginx:latest name=web detach=true ports=8080:80
skill run docker run image=postgres:15 name=db detach=true env="POSTGRES_PASSWORD=secret" volumes=/data:/var/lib/postgresql/data
skill run docker run image=alpine command="echo hello world"
exec
Execute a command in a running container.
Parameters:
container(required): Container name or IDcommand(required): Command to executeinteractive(optional): Keep STDIN open (true/false)tty(optional): Allocate pseudo-TTY (true/false)user(optional): Username or UIDworkdir(optional): Working directory inside container
Example:
skill run docker exec container=web command="ls -la /var/log"
skill run docker exec container=db command="psql -U postgres -c 'SELECT 1'"
skill run docker exec container=app user=node workdir=/app command="npm run migrate"
logs
Fetch container logs.
Parameters:
container(required): Container name or IDtail(optional): Number of lines to show from endfollow(optional): Follow log output (true/false)since(optional): Show logs since timestamp (e.g., "2h", "2024-01-01")timestamps(optional): Show timestamps (true/false)
Example:
skill run docker logs container=web tail=100
skill run docker logs container=app since=1h timestamps=true
skill run docker logs container=db follow=true
ps
List containers.
Parameters:
all(optional): Show all containers including stopped (true/false)filter(optional): Filter output (e.g., "status=running", "name=web")format(optional): Pretty-print using Go templatequiet(optional): Only display container IDs (true/false)
Example:
skill run docker ps
skill run docker ps all=true
skill run docker ps filter="status=running"
skill run docker ps quiet=true
start
Start one or more stopped containers.
Parameters:
container(required): Container name(s) or ID(s), comma-separated for multipleattach(optional): Attach STDOUT/STDERR (true/false)
Example:
skill run docker start container=web
skill run docker start container="web,db,cache"
stop
Stop one or more running containers.
Parameters:
container(required): Container name(s) or ID(s), comma-separated for multipletime(optional): Seconds to wait before killing (default: 10)
Example:
skill run docker stop container=web
skill run docker stop container="web,db" time=30
rm
Remove one or more containers.
Parameters:
container(required): Container name(s) or ID(s), comma-separated for multipleforce(optional): Force removal of running container (true/false)volumes(optional): Remove associated anonymous volumes (true/false)
Example:
skill run docker rm container=web
skill run docker rm container="old-web,old-db" force=true volumes=true
restart
Restart one or more containers.
Parameters:
container(required): Container name(s) or ID(s), comma-separated for multipletime(optional): Seconds to wait before killing (default: 10)
Example:
skill run docker restart container=web
skill run docker restart container="web,api" time=5
inspect
Display detailed information about a container or image.
Parameters:
target(required): Container or image name/IDformat(optional): Format output using Go templatetype(optional): Type of object (container, image)
Example:
skill run docker inspect target=web
skill run docker inspe
Установить docker в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bashskill-runВложенные файлы
FAQ
Что делает скилл docker?
Docker container and image management with native docker CLI integration. Use when you need to manage containers, images, networks, volumes, or run Docker Compose.
Как установить скилл docker?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл docker запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub