docker-helper
Complete Docker operations via CLI - containers, images, networks, volumes, and compose When user mentions Docker, containers, docker commands, Dockerfile, images, docker-compose, or container registry
What this skill does
# Docker Helper Agent
## What's New in Docker 2025
- **BuildKit Default**: Advanced caching, parallel builds, and secret mounts
- **Docker Scout**: Built-in vulnerability scanning and remediation
- **Multi-Platform Builds**: Native cross-architecture support with buildx
- **Rootless Mode GA**: Run Docker daemon without root privileges
- **Docker Model**: Run ML models as containers
- **Containerd Integration**: Improved runtime performance and compatibility
## Overview
Docker provides containerization for applications. Containers are lightweight, isolated environments that package applications with their dependencies. Images are read-only templates for containers. Docker Compose orchestrates multi-container applications.
## CLI Commands
### Auto-Approved Commands
The following `docker` commands are auto-approved and safe to use:
- `docker ps` - List containers
- `docker images` - List images
- `docker inspect` - Show detailed info
- `docker logs` - View container logs
- `docker stats` - Show resource usage
- `docker version` - Show version info
- `docker info` - System-wide info
- `docker network ls` - List networks
- `docker volume ls` - List volumes
### Container Lifecycle
```bash
# Run container (foreground)
docker run nginx
# Run detached with name
docker run -d --name my-nginx nginx
# Run interactive with shell
docker run -it ubuntu bash
# Run with auto-remove on exit
docker run --rm alpine echo "hello"
# Run with port mapping
docker run -d -p 8080:80 nginx
# Run with environment variables
docker run -d -e MYSQL_ROOT_PASSWORD=secret mysql
# Run with volume mount
docker run -d -v /host/path:/container/path nginx
# Run with resource limits
docker run -d --memory=512m --cpus=1 nginx
# Start/stop/restart containers
docker start my-container
docker stop my-container
docker restart my-container
# Remove container
docker rm my-container
# Remove running container (force)
docker rm -f my-container
# Kill container (SIGKILL)
docker kill my-container
```
### Container Operations
```bash
# Execute command in running container
docker exec my-container ls -la
# Interactive shell in container
docker exec -it my-container bash
# Execute as different user
docker exec -u root my-container whoami
# Execute with environment variable
docker exec -e MY_VAR=value my-container env
# Execute in specific directory
docker exec -w /app my-container pwd
# Attach to container
docker attach my-container
# Copy files to/from container
docker cp ./local-file my-container:/path/
docker cp my-container:/path/file ./local-file
# Show container differences from image
docker diff my-container
# View container logs
docker logs my-container
# Follow logs in real-time
docker logs -f my-container
# Show last N lines
docker logs --tail 100 my-container
# Show logs since timestamp
docker logs --since 2024-01-01T00:00:00 my-container
# Show logs with timestamps
docker logs -t my-container
```
### Image Management
```bash
# List images
docker images
# Pull image
docker pull nginx:latest
# Pull specific platform
docker pull --platform linux/arm64 nginx
# Push image to registry
docker push myregistry/myimage:tag
# Tag image
docker tag nginx:latest myregistry/nginx:v1
# Remove image
docker rmi nginx:latest
# Remove dangling images
docker image prune
# Remove all unused images
docker image prune -a
# Remove images by filter
docker image prune -a --filter "until=24h"
# Inspect image
docker image inspect nginx
# Show image history
docker image history nginx
# Save image to tar
docker save nginx > nginx.tar
# Load image from tar
docker load < nginx.tar
```
### Building Images
```bash
# Build from Dockerfile
docker build -t myimage:latest .
# Build with specific Dockerfile
docker build -f Dockerfile.prod -t myimage:prod .
# Build with build arguments
docker build --build-arg VERSION=1.0 -t myimage .
# Build with no cache
docker build --no-cache -t myimage .
# Build specific target (multi-stage)
docker build --target builder -t myimage:builder .
# Build and push
docker build -t myregistry/myimage:latest --push .
```
### Network Operations
```bash
# List networks
docker network ls
# Create network
docker network create my-network
# Create bridge network with subnet
docker network create --driver bridge --subnet 172.20.0.0/16 my-network
# Connect container to network
docker network connect my-network my-container
# Disconnect container from network
docker network disconnect my-network my-container
# Inspect network
docker network inspect my-network
# Remove network
docker network rm my-network
# Remove unused networks
docker network prune
```
### Volume Operations
```bash
# List volumes
docker volume ls
# Create volume
docker volume create my-volume
# Inspect volume
docker volume inspect my-volume
# Remove volume
docker volume rm my-volume
# Remove unused volumes
docker volume prune
# Use volume in container
docker run -v my-volume:/data nginx
```
### Registry Operations
```bash
# Login to Docker Hub
docker login
# Login to private registry
docker login registry.example.com
# Logout
docker logout registry.example.com
# Search Docker Hub
docker search nginx
```
### System Commands
```bash
# Show disk usage
docker system df
# Show detailed disk usage
docker system df -v
# Remove all unused data
docker system prune
# Remove everything including volumes
docker system prune -a --volumes
# Show real-time events
docker system events
# System info
docker system info
```
## BuildKit & Multi-Stage Builds
### Enabling BuildKit
```bash
# Environment variable
export DOCKER_BUILDKIT=1
# Or use buildx
docker buildx build -t myimage .
```
### Cache Mounts
```dockerfile
# Cache package manager
RUN --mount=type=cache,target=/var/cache/apt \
apt-get update && apt-get install -y nodejs
# Cache npm
RUN --mount=type=cache,target=/root/.npm \
npm install
# Cache Go modules
RUN --mount=type=cache,target=/go/pkg/mod \
go build -o app
```
### Secret Mounts
```dockerfile
# Use secret during build (not stored in image)
RUN --mount=type=secret,id=npmrc,target=/root/.npmrc \
npm install
```
```bash
# Build with secret
docker build --secret id=npmrc,src=.npmrc -t myimage .
```
### Multi-Stage Build Example
```dockerfile
# Build stage
FROM node:20-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
# Production stage
FROM node:20-alpine
WORKDIR /app
COPY --from=builder /app/dist ./dist
COPY --from=builder /app/node_modules ./node_modules
USER node
EXPOSE 3000
CMD ["node", "dist/index.js"]
```
### Multi-Platform Builds
```bash
# Create builder
docker buildx create --name mybuilder --use
# Build for multiple platforms
docker buildx build \
--platform linux/amd64,linux/arm64,linux/arm/v7 \
-t myregistry/myimage:latest \
--push .
# Inspect builder
docker buildx inspect
# List builders
docker buildx ls
```
## Docker Compose
### Basic Commands
```bash
# Start services
docker compose up
# Start detached
docker compose up -d
# Start specific service
docker compose up -d web
# Stop services
docker compose down
# Stop and remove volumes
docker compose down -v
# View logs
docker compose logs
# Follow logs
docker compose logs -f
# View service logs
docker compose logs web
# List containers
docker compose ps
# Execute command
docker compose exec web bash
# Run one-off command
docker compose run --rm web npm test
# Build images
docker compose build
# Build with no cache
docker compose build --no-cache
# Pull images
docker compose pull
# Scale service
docker compose up -d --scale worker=3
# Restart service
docker compose restart web
# Show config
docker compose config
```
### Compose File Example
```yaml
# compose.yaml
services:
web:
build: .
ports:
- "3000:3000"
environment:
- NODE_ENV=production
depends_on:
- db
volumes:
- ./src:/app/src
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/healRelated in Cloud & DevOps
appbuilder-action-scaffolder
IncludedCreate, implement, deploy, and debug Adobe Runtime actions with consistent layout, validation, and error handling. Use this skill whenever the user needs to add actions to an App Builder project, understand action structure (params, response format, web/raw actions), configure actions in the manifest, use App Builder SDKs (State, Files, Events, database), deploy and invoke actions via CLI, debug action issues, or implement patterns such as webhook receivers, custom event providers, journaling consumers, large payload redirects, action sequence pipelines, and Asset Compute workers. Also trigger when users mention serverless functions in Adobe context, action logging, IMS authentication for actions, or cron-style scheduled actions.
orchestrating-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. Use this skill when the user needs a multi-step Data Cloud pipeline, cross-phase troubleshooting, or data space and data kit management. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase sf data360 workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching phase-specific skill), the task is STDM/session tracing/parquet telemetry (use observing-agentforce), standard CRM SOQL (use querying-soql), or Apex implementation (use generating-apex).
github-project-automation
IncludedAutomate GitHub repository setup with CI/CD workflows, issue templates, Dependabot, and CodeQL security scanning. Includes 12 production-tested workflows and prevents 18 errors: YAML syntax, action pinning, and configuration. Use when: setting up GitHub Actions CI/CD, creating issue/PR templates, enabling Dependabot or CodeQL scanning, deploying to Cloudflare Workers, implementing matrix testing, or troubleshooting YAML indentation, action version pinning, secrets syntax, runner versions, or CodeQL configuration. Keywords: github actions, github workflow, ci/cd, issue templates, pull request templates, dependabot, codeql, security scanning, yaml syntax, github automation, repository setup, workflow templates, github actions matrix, secrets management, branch protection, codeowners, github projects, continuous integration, continuous deployment, workflow syntax error, action version pinning, runner version, github context, yaml indentation error
sf-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase `sf data360` workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching sf-datacloud-* skill), the task is STDM/session tracing/parquet telemetry (use sf-ai-agentforce-observability), standard CRM SOQL (use sf-soql), or Apex implementation (use sf-apex).
fabric-cli
IncludedUse this skill for Fabric.so CLI workflows with the `fabric` terminal command: diagnose/install/login, search or browse a Fabric library, save notes/links/files, create folders, ask the Fabric AI assistant, manage tasks/workspaces, generate shell completion, check subscription usage, produce JSON output, and use Fabric as persistent agent memory. Do not use for Microsoft Fabric/Azure/Power BI `fab`, Daniel Miessler's Fabric framework, Python Fabric SSH, Fabric.js, or textile/fashion fabric.
lark
IncludedLark/Feishu CLI skills: lark-cli operations for docs, markdown, sheets, base, calendar, im, mail, task, okr, drive, wiki, slides, whiteboard, apps, approval, attendance, contact, vc, minutes, event. Use when the user needs to operate Lark/Feishu resources via lark-cli, send messages, manage documents, spreadsheets, calendars, tasks, OKRs, deploy web pages, or any Feishu/Lark workspace operations.