什么是 docker?
Docker容器化专家:Dockerfile优化、多阶段构建、安全加固、 Docker Compose 编排和生产部署。用于 Dockerfile 创建/审查, 图像大小问题、容器安全性、网络和编排。 来源:fellipeutaka/leon。
Docker容器化专家:Dockerfile优化、多阶段构建、安全加固、 Docker Compose 编排和生产部署。用于 Dockerfile 创建/审查, 图像大小问题、容器安全性、网络和编排。
通过命令行快速安装 docker AI 技能到你的开发环境
来源:fellipeutaka/leon。
| Base Image | Size | Shell | Use Case |
| cgr.dev/chainguard/ (Wolfi) | 10-30MB | Yes | Zero-CVE goal, SBOM included | | alpine:3.21 | 7MB | Yes | General-purpose minimal | | gcr.io/distroless/ | 2-5MB | No | Hardened production, no debug | | -slim variants | 70-100MB | Yes | When Alpine compatibility is an issue | | scratch | 0MB | No | Static binaries (Go, Rust) |
| Run as root | USER 1001 or named user | | Use latest tag | Pin exact versions | | --privileged flag | --cap-add only what's needed | | Mount Docker socket | Use Docker-in-Docker or alternatives | | Hardcode secrets in ENV/ARG | BuildKit secrets or runtime mounts | | Skip health checks | HEALTHCHECK in Dockerfile or Compose |
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/fellipeutaka/leon --skill dockerDocker容器化专家:Dockerfile优化、多阶段构建、安全加固、 Docker Compose 编排和生产部署。用于 Dockerfile 创建/审查, 图像大小问题、容器安全性、网络和编排。 来源:fellipeutaka/leon。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/fellipeutaka/leon --skill docker 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/fellipeutaka/leon