docker-expert SKILL.md skillA

docker-expert from seaworld008/commonly-used-high-value-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add seaworld008/commonly-used-high-value-skills/docker-expert@v1.0.2

Pins v1.0.2 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
seaworld008/commonly-used-high-value-skills
Path
openclaw-skills/docker-expert/SKILL.md
Versions recorded
5
Latest version
v1.0.2, committed Aug 20, 2026
First version recorded
Apr 25, 2026
Size
6,487 bytes
Repository stars
73
License
MIT

Use when containerizing an application with Docker, optimizing multi-stage builds and image size, designing Docker Compose services, troubleshooting container networking or volumes, or adding secure image build and CI/CD practices.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Docker Expert

## 触发条件
- 当需要将应用容器化,并确保开发、测试、生产环境一致性时。
- 面对庞大的 Docker 镜像体积,需要优化构建流水线和存储效率时。
- 需要通过 Docker Compose 协调多个互相关联的微服务容器时。
- 需要解决复杂的网络通信、数据持久化卷管理或权限隔离问题时。
- 实施 CI/CD 流水线,将构建结果自动推送到镜像仓库并进行安全扫描时。

## 核心能力

### 1. Dockerfile 多阶段构建 (Multi-stage Builds)
- **分离构建与运行**: 使用 `AS` 关键字定义多个阶段。在第一阶段进行源码编译、依赖安装;在第二阶段仅拷贝最终产物(如编译后的二进制文件或静态资源)到轻量级基础镜像(如 Alpine 或 Distroless)中。
- **减少层数**: 合理合并 `RUN` 指令,清理构建过程中的临时文件(如 `npm cache clean`, `apt-get clean`)。
- **优化缓存**: 先拷贝依赖定义文件(`package.json`, `go.mod`),运行安装命令,最后再拷贝源代码。这能显著提高后续构建速度。

### 2. 镜像体积优化 (Image Optimization)
- **选择合适的基础镜像**: 优先使用 `alpine`, `slim` 版本,或 Google 的 `distroless` 镜像以降低攻击面。
- **.dockerignore**: 排除不必要的文件(`.git`, `node_modules`, `tests`, `docs`),减小上传给 Docker daemon 的上下文体积。
- **squash 选项**: 实验性功能,用于合并最终镜像层(慎用,通常多阶段构建已足够高效)。

### 3. Docker Compose 服务编排
- **YAML 结构化配置**: 管理服务、网络(Networks)和卷(Volumes)。
- **依赖顺序控制**: 使用 `depends_on` 及其 `condition: service_healthy`(结合 `healthcheck`)确保依赖服务就绪后再启动主应用。
- **多环境复用**: 利用 `docker-compose.override.yml` 或 `env_file` 实现不同环境的差异化配置。

### 4. 网络与卷管理 (Networking & Volumes)
- **网络模式**: 理解 `bridge`(默认隔离)、`host`(无隔离,高性能)、`none` 及自定义 overlay 网络。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add seaworld008/commonly-used-high-value-skills/docker-expert@sha256:ff5abc5b6a753852

The line at the top of this page pins the label v1.0.2, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_utksnceypfnidt6m.svg)](https://markdownregistry.com/a/art_utksnceypfnidt6m)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Apr 25, 2026 and Aug 20, 2026, about one every 29 days.

versioncommittedcommitsizeaudit
v1.0.2 latest2026-08-20 ce0b4c2 6,487 BA view · diff
v1.0.12026-08-20 6c8d428 6,459 BA view · diff
v1.0.12026-08-10 33ee415 6,436 BA view · diff
v1.0.02026-06-29 f17e969 6,327 BA view · diff
v1.0.02026-04-25 be5efe5 6,221 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (6487 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

seaworld008/commonly-used-high-value-skills · 73 stars · license MIT · pushed 2026-10-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_utksnceypfnidt6m
GET https://markdownregistry.com/api/v1/resolve?ref=seaworld008/commonly-used-high-value-skills/docker-expert
GET https://markdownregistry.com/api/v1/blob/ff5abc5b6a753852a48667844e00360728b875f6072b655cc31d4cc25dd7b9c4

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from seaworld008/commonly-used-high-value-skills

AGENTS.md AGENTS.md file
seaworld008/commonly-used-high-value-skills · AGENTS.md
git:20260907.7aad3b0 · audit A · 73 stars
CLAUDE.md CLAUDE.md file
seaworld008/commonly-used-high-value-skills · CLAUDE.md
git:20260907.7aad3b0 · audit A · 73 stars
agent-browser SKILL.md skill
seaworld008/commonly-used-high-value-skills · openclaw-skills/agent-browser/SKILL.md · Use when an agent needs real browser automation for semantic element targeting, form interaction, screenshots…
v1.0.0 · audit A · 73 stars
agent-designer SKILL.md skill
seaworld008/commonly-used-high-value-skills · openclaw-skills/agent-designer/SKILL.md · Design AI agent responsibilities, tools, memory, orchestration, and evaluation when defining an agent architecture or…
v1.0.2 · audit A · 73 stars
CLAUDE.md@openclaw-skills/agent-hub CLAUDE.md file
seaworld008/commonly-used-high-value-skills · openclaw-skills/agent-hub/CLAUDE.md
git:20260424.86f3732 · audit A · 73 stars
agent-hub SKILL.md skill
seaworld008/commonly-used-high-value-skills · openclaw-skills/agent-hub/SKILL.md · Compare independent solutions with agent-hub when parallel competition is requested; isolate Git worktrees, evaluate…
v1.0.11 · audit A · 73 stars
agent-workflow-designer SKILL.md skill
seaworld008/commonly-used-high-value-skills · openclaw-skills/agent-workflow-designer/SKILL.md · Design agent orchestration, handoffs, state, recovery, and evaluation when a workflow needs multiple coordinated agents…
v1.1.1 · audit A · 73 stars
agile-product-owner SKILL.md skill
seaworld008/commonly-used-high-value-skills · openclaw-skills/agile-product-owner/SKILL.md · Manage product backlogs and sprints: user stories, acceptance criteria, epic breakdown, prioritization, estimates, and…
v1.0.1 · audit A · 73 stars
algorithmic-art SKILL.md skill
seaworld008/commonly-used-high-value-skills · openclaw-skills/algorithmic-art/SKILL.md · Create original generative art with p5.js, seeded randomness, flow fields, particles, and interactive parameters when…
v1.0.1 · audit B · 73 stars
andrej-karpathy-skills SKILL.md skill
seaworld008/commonly-used-high-value-skills · openclaw-skills/andrej-karpathy-skills/SKILL.md · Karpathy-inspired coding discipline for AI agents: think before coding, keep changes simple, edit surgically, and…
v1.0.0 · audit A · 73 stars
api-and-interface-design SKILL.md skill
seaworld008/commonly-used-high-value-skills · openclaw-skills/api-and-interface-design/SKILL.md · Design REST/GraphQL APIs, module interfaces, and type contracts when creating endpoints or changing public boundaries.
v1.0.4 · audit A · 73 stars
api-design-reviewer SKILL.md skill
seaworld008/commonly-used-high-value-skills · openclaw-skills/api-design-reviewer/SKILL.md · Use when reviewing API designs for consistency, usability, versioning, error semantics, security, backward…
v1.0.0 · audit A · 73 stars

Every file in seaworld008/commonly-used-high-value-skills

Other files named docker-expert

docker-expert SKILL.md skill
skillmds/skillmd · plugins/cloud-devops/skills/docker-expert/SKILL.md · Docker containerization expert with deep knowledge of multi-stage builds, image optimization, container security…
git:20260919.fecc0d5 · audit A · 250 stars
docker-expert SKILL.md skill
hybridlabor-api/bdb-dev-optimized-agent-skills · skills/global_config/docker-expert/SKILL.md · You are an advanced Docker containerization expert with comprehensive, practical knowledge of container optimization…
git:20261010.8c999e5 · audit A · 6 stars
docker-expert SKILL.md skill
hybridlabor-api/aos · skills/global_config/docker-expert/SKILL.md · You are an advanced Docker containerization expert with comprehensive, practical knowledge of container optimization…
git:20261010.8c999e5 · audit A · 6 stars

Browse by kind, by grade A, or by owner.