Back to skills directory

Docker Image Hardening

New

Hardens images with a non-root user, multi-stage builds, fewer packages and pinned digests, not just a green build.

Docker Image Hardening is an Agent skill for Security. Hardens images with a non-root user, multi-stage builds, fewer packages and pinned digests, not just a green build. Tags: Docker · 镜像 · 加固 · 安全.

SecurityAuthor: 编辑整理Visit

What is Docker Image Hardening

Docker Image Hardening packages a Security workflow for agents. Hardens images with a non-root user, multi-stage builds, fewer packages and pinned digests, not just a green build.

Install Docker Image Hardening in Cursor / Claude / Codex

Claude Code Install with the command on this page, or place the skill in ~/.claude/skills or project .claude/skills so Claude can detect Docker Image Hardening.

Cursor After the install command writes the skill directory, invoke Docker Image Hardening by name in the Cursor agent.

Codex Install into the Codex skills directory and call it by name. If only a generic command is listed, run it locally and confirm Codex can see the skill.

This page has no install command. Check the project home for how to install Docker Image Hardening.

Please visit the Project Home to see installation and usage instructions.

How to Use

Claude Code: Place the skill in ~/.claude/skills (personal) or the project .claude/skills directory, and Claude will auto-detect it.

Cursor / Windsurf: After installing via npx skillsadd, the skill directory is placed in the configured path.

Codex CLI: After installation it loads automatically from the skills directory and is invoked by name.

Tags

Docker镜像加固安全

Similar recommendations

FAQ

What is Docker Image Hardening for?

Docker Image Hardening is a Security skill. Hardens images with a non-root user, multi-stage builds, fewer packages and pinned digests, not just a green build.

Can Claude, Cursor, and Codex all use Docker Image Hardening?

Yes if the client supports Agent Skills and has loaded the skill directory. Check the project home for compatibility notes.

What similar skills exist?

Related items come from the same Security group so you can pick a closer workflow.