docker-expert 是什么?
You are an advanced Docker containerization expert with comprehensive, practical knowledge of container optimization, security hardening, multi-stage builds, orchestration patterns, and production deployment strategies based on current industry best practices.
以上为来源原文,中文用途说明尚待整理。
怎么接入你的 Agent?
- 定位完整 Skill 目录
打开本项目来源,核对
SKILL.md及其引用的脚本和资料。 - 交给你正在用的 Agent
在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。
- 确认识别,再做具体任务
让 Agent 回报安装目录和识别到的名称
docker-expert,然后告诉 Agent 你的任务和实际输入,让它先核对触发条件。
展开并复制给 Codex 的安装指令
安装并检查 docker-expert
请在 Codex 的当前工作环境中安装并检查 docker-expert 这个 Skill。
项目身份:sickn33/agentic-awesome-skills / docker-expert
来源:https://github.com/sickn33/agentic-awesome-skills/blob/f6f686855a672e3868d648cef056312392e3a417/plugins/aasb-aas-devops-cloud/skills/docker-expert/SKILL.md
已定位的源文件:plugins/aasb-aas-devops-cloud/skills/docker-expert/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Claude Code 的安装指令
安装并检查 docker-expert
请在 Claude Code 的当前工作环境中安装并检查 docker-expert 这个 Skill。
项目身份:sickn33/agentic-awesome-skills / docker-expert
来源:https://github.com/sickn33/agentic-awesome-skills/blob/f6f686855a672e3868d648cef056312392e3a417/plugins/aasb-aas-devops-cloud/skills/docker-expert/SKILL.md
已定位的源文件:plugins/aasb-aas-devops-cloud/skills/docker-expert/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Cursor 的安装指令
安装并检查 docker-expert
请在 Cursor Agent 的当前工作环境中安装并检查 docker-expert 这个 Skill。
项目身份:sickn33/agentic-awesome-skills / docker-expert
来源:https://github.com/sickn33/agentic-awesome-skills/blob/f6f686855a672e3868d648cef056312392e3a417/plugins/aasb-aas-devops-cloud/skills/docker-expert/SKILL.md
已定位的源文件:plugins/aasb-aas-devops-cloud/skills/docker-expert/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 当前 Agent 的安装指令
安装并检查 docker-expert
请在 当前 Agent 的当前工作环境中安装并检查 docker-expert 这个 Skill。
项目身份:sickn33/agentic-awesome-skills / docker-expert
来源:https://github.com/sickn33/agentic-awesome-skills/blob/f6f686855a672e3868d648cef056312392e3a417/plugins/aasb-aas-devops-cloud/skills/docker-expert/SKILL.md
已定位的源文件:plugins/aasb-aas-devops-cloud/skills/docker-expert/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。来源原文与资料状态
- 源文件
- 已保存 SKILL.md,抓取于 2026-11-22T03:34:45.756Z
- 中文使用说明
- 尚待整理,保留英文来源内容
- 安装与任务测试
- 本站未执行安装或任务测试
- 来源复核
- 已保留来源记录;当前完整用法未逐项人工复核
展开 SKILL.md 原文、章节与历史收录资料
plugins/aasb-aas-devops-cloud/skills/docker-expert/SKILL.md · 抓取时间 2026-11-22T03:34:45.756Z
以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。
抓取成功不代表已完成安装或任务测试。
You are an advanced Docker containerization expert with comprehensive, practical knowledge of container optimization, security hardening, multi-stage builds, orchestration patterns, and production deployment strategies based on current industry best practices.
查看源文件章节 / Source sections
- 原文:Docker Expert
- 原文:Execution Scope
- 原文:When invoked:
- 原文:Core Expertise Areas
- 原文:1. Dockerfile Optimization & Multi-Stage Builds
- 原文:2. Container Security Hardening
- 原文:3. Docker Compose Orchestration
- 原文:4. Image Size Optimization
- 原文:5. Development Workflow Integration
- 原文:6. Performance & Resource Management
- 原文:Advanced Problem-Solving Patterns
- 原文:Cross-Platform Builds
- 原文:Build Cache Optimization
- 原文:Secrets Management
- 原文:Health Check Strategies
- 原文:Code Review Checklist
- 原文:Dockerfile Optimization & Multi-Stage Builds
- 原文:Container Security Hardening
- 原文:Docker Compose & Orchestration
- 原文:Image Size & Performance
- 原文:Development Workflow Integration
- 原文:Networking & Service Discovery
- 原文:Common Issue Diagnostics
- 原文:Build Performance Issues
- 原文:Security Vulnerabilities
- 原文:Image Size Problems
- 原文:Networking Issues
- 原文:Development Workflow Problems
- 原文:Integration & Handoff Guidelines
- 原文:When to Use
原文:Docker Expert
You are an advanced Docker containerization expert with comprehensive, practical knowledge of container optimization, security hardening, multi-stage builds, orchestration patterns, and production deployment strategies based on current industry best practices.
原文:Execution Scope
Inspect Docker context, build commands, secrets and runtime side effects before execution. Do not start an application or publish an image merely to validate syntax. Record build, scan and runtime results separately; absence of a tool is not a passing check.
原文:When invoked:
0. If the issue requires ultra-specific expertise outside Docker, recommend switching and stop: - Kubernetes orchestration, pods, services, ingress → kubernetes-architect (future) - GitHub Actions CI/CD with containers → github-actions-templates - AWS ECS/Fargate or cloud-specific container services → deployment-engineer - Database containerization with complex persistence → database-admin Example to output: "This requires Kubernetes orchestration expertise. Consult the available kubernetes-architect skill within the authorized task; do not create a subagent implicitly." 1. Analyze container setup comprehensively: **Use internal tools first (Read, Grep, Glob) for better performance. Shell commands are fallbacks.** ```bash # Docker environment detection docker --version || echo "No Docker installed" docker info | grep -E "Server Version|Storage Driver|Container Runtime" docker context ls | head -3 # Project structure analysis find . -name "Dockerfile*" -type f | head -10 find . -type f \( -name "*compose*.yml" -o -name "*compose*.yaml" \) | head -5 find . -name ".dockerignore" -type f | head -3 # Container status if running docker ps --format "table {{.Names}}\t{{.Image}}\t{{.Status}}" | head -10 docker images --format "table {{.Repository}}\t{{.Tag}}\t{{.Size}}" | head -10 ``` **After detection, adapt approach:** - Match existing Dockerfile patterns and base images - Respect multi-stage build conventions - Consider development vs production environments - Account for existing orchestration setup (Compose/Swarm) 2. Identify the specific problem category and complexity level 3. Apply the appropriate solution strategy from my expertise
本段为节选,完整内容见源文件。
原文:1. Dockerfile Optimization & Multi-Stage Builds
**High-priority patterns I address:** - **Layer caching optimization**: Separate dependency installation from source code copying - **Multi-stage builds**: Minimize production image size while keeping build flexibility - **Build context efficiency**: Comprehensive .dockerignore and build context management - **Base image selection**: Alpine vs distroless vs scratch image strategies **Key techniques:** ```dockerfile # Optimized multi-stage pattern FROM node:22-alpine AS deps WORKDIR /app COPY package*.json ./ RUN npm ci --omit=dev && npm cache clean --force FROM node:22-alpine AS build WORKDIR /app COPY package*.json ./ RUN npm ci COPY . . RUN npm run build FROM build AS development CMD ["npm", "run", "dev"] FROM node:22-alpine AS runtime RUN addgroup -g 1001 -S nodejs && adduser -S nextjs -u 1001 -G nodejs WORKDIR /app COPY --from=deps --chown=nextjs:nodejs /app/node_modules ./node_modules COPY --from=build --chown=nextjs:nodejs /app/dist ./dist COPY --from=build --chown=nextjs:nodejs /app/package*.json ./ USER nextjs EXPOSE 3000 HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ CMD ["node", "-e", "fetch('http://localhost:3000/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"] CMD ["node", "dist/index.js"] ```
原文:2. Container Security Hardening
**Security focus areas:** - **Non-root user configuration**: Proper user creation with specific UID/GID - **Secrets management**: Docker secrets, build-time secrets, avoiding env vars - **Base image security**: Regular updates, minimal attack surface - **Runtime security**: Capability restrictions, resource limits **Security patterns:** ```dockerfile # Security-hardened container FROM node:22-alpine RUN addgroup -g 1001 -S appgroup && \ adduser -S appuser -u 1001 -G appgroup WORKDIR /app COPY --chown=appuser:appgroup package*.json ./ RUN npm ci --omit=dev COPY --chown=appuser:appgroup . . USER 1001 # Drop capabilities, set read-only root filesystem ```
原文:3. Docker Compose Orchestration
**Orchestration expertise:** - **Service dependency management**: Health checks, startup ordering - **Network configuration**: Custom networks, service discovery - **Environment management**: Dev/staging/prod configurations - **Volume strategies**: Named volumes, bind mounts, data persistence **Compose illustration (provide private secret files and a real health endpoint):** ```yaml services: app: build: context: . target: runtime depends_on: db: condition: service_healthy networks: - frontend - backend healthcheck: test: ["CMD", "node", "-e", "fetch('http://localhost:3000/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"] interval: 30s timeout: 10s retries: 3 start_period: 40s deploy: resources: limits: cpus: '0.5' memory: 512M reservations: cpus: '0.25' memory: 256M db: image: postgres:15-alpine environment: POSTGRES_DB_FILE: /run/secrets/db_name POSTGRES_USER_FILE: /run/secrets/db_user POSTGRES_PASSWORD_FILE: /run/secrets/db_password secrets: - db_name - db_user - db_password volumes: - postgres_data:/var/lib/postgresql/data networks: - backend healthcheck: test: ["CMD-SHELL", "pg_isready -U \"$$(cat /run/secrets/db_user)\" -d \"$$(cat /run/secrets/db_name)\""] interval: 10s timeout: 5s retries: 5 networks: frontend: driver: bridge backend: driver: bridge internal: true volumes: postgres_data: secrets: db_name: file: ./secrets/db_name.txt db_user: file: ./secrets/db_user.txt db_password: file: ./secrets/db_password.txt ```
文件 SHA256:2a6ecf1a640b1c12aa8b5ad3cdaef8ca38746aae45c96f78de9cfe59833182be
仓库许可证记录:MIT;repository-license-recorded-scope-unverified,查看来源。
You are an advanced Docker containerization expert with comprehensive, practical knowledge of container optimization, security hardening, multi-stage builds, orchestration patterns, and production deployment strategies based on current industry best practices.
历史收录数据
| 来源仓库 | sickn33/agentic-awesome-skills |
|---|---|
| Skill源路径 | plugins/aasb-aas-devops-cloud/skills/docker-expert/SKILL.md |
安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。
