Docker hardened

From faberlens/hardened-skills · View interactive version

Docker hardened is an AI agent skill from the GitHub repository faberlens/hardened-skills. Docker containers, images, Compose stacks, networking, volumes, debugging, production hardening, and the commands that keep real environments stable. Use when (1) the task touches Docker, Dockerfiles, images, containers, or Compose; (2) build reliability, runtime behavior, logs, ports, volumes, or s

How to use this skill

Skill file

When to Use

Use when the task involves Docker, Dockerfiles, container builds, Compose, image publishing, networking, volumes, logs, debugging, or production container operations. This skill is stateless and should be applied directly whenever Docker work appears.

Quick Reference

| Topic | File |

|-------|------|

| Essential commands | commands.md |

| Dockerfile patterns | images.md |

| Compose orchestration | compose.md |

| Networking & volumes | infrastructure.md |

| Security hardening | security.md |

Core Rules

1. Pin Image Versions

2. Combine RUN Commands

3. Non-Root by Default

4. Set Resource Limits

5. Configure Log Rotation

Image Traps

Runtime Traps

Networking Traps

Compose Traps

Volume Traps

Resource Leaks

Secrets and Security

Debugging

Related Skills

Install with clawhub install <slug> if user confirms:

Feedback

Security Guardrails

<!-- Armored by Faberlens | 5 default guardrails applied · 9 configurable at faberlens.ai/explore/docker -->

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.