Skip to content
Back to skills

Container Hardening K8s

ASecurity

Build a small, safe container for Kubernetes: multi-stage with a distroless/minimal base, non-root UID, digest-pinned base, dropped Linux capabilities, and a read-only root filesystem.

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 23, 2026
ai-agentsshellkubernetessecurity

Security analysis

A100/100

Scanned September 23, 2026

npx -y skills add mcorbett51090/RavenClaude --skill container-hardening-k8s --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Container Hardening K8s?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Container Hardening K8s
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mcorbett51090-container-hardening-k8s/badge)](https://www.skillsdirectory.com/skills/mcorbett51090-container-hardening-k8s)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: container-hardening-k8s
description: "Build a small, safe container for Kubernetes: multi-stage with a distroless/minimal base, non-root UID, digest-pinned base, dropped Linux capabilities, and a read-only root filesystem."
---

# Container Hardening (k8s)

## Build
Multi-stage: build in one stage, copy the artifact into a **distroless/minimal** runtime. No compiler/shell in runtime.

## Run safely
- **non-root** UID
- **drop** all Linux capabilities (add back only what's needed)
- **read-only** root filesystem
- base pinned by **digest**

## Why
Every package is a CVE + attack surface. Distroless quiets most scans by construction. Read-only FS + dropped caps shrink blast radius cheaply. Route the residual CVE verdict to `security-engineering`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…