Docker
Docker containers, images, Compose stacks, networking, volumes, debugging, production hardening, and the commands that keep real environments stable.
Skill by Fadil369
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/fadil369-docker
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: devops, security, productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/docker
What's inside
- Skill name
Docker- Description
- 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 security matter; (3) the agent needs Docker guidance and should apply it by default.
- License
- MIT
- Instructions
- 103 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: only lowercase letters, digits and single hyphens allowed
- name: "Docker" does not match folder "docker"
Files (9)
- origin.json · .clawhub/
- SKILL.md
- _meta.json
- commands.md
- compose.md
- images.md
- infrastructure.md
- registry.md
- security.md
SKILL.md (first lines)
## 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
- `python:3.11.5-slim` not `python:latest`
- Today's latest differs from tomorrow's — breaks immutable builds
### 2. Combine RUN Commands
- `apt-get update && apt-get install -y pkg` in ONE layer
- Separate layers = stale package cache weeks later
### 3. Non-Root by Default
- Add `USER nonroot` in Dockerfile
- Running as root fails security scans and platform policies
### 4. Set Resource Limits
- `-m 512m` on every container
- OOM killer strikes without warning otherwise
### 5. Configure Log Rotation
- Default json-file driver has no size limit
- One chatty container fills disk and crashes host
## Image Traps
- Multi-stage builds: forgotten `--from=builder` copies from wrong stage silently
- COPY before RUN invalidates cache on every file change — copy requirements first, install, then copy code
- `ADD` extracts archives automatically — use `COPY` unless you need extraction
- Build args visible in image history — never use for secrets
## Runtime Traps
- `localhost` inside container is container's localhost — bind to `0.0.0.0`
- Port already in use: previous container still stopping — wait or force remove
- Exit code 137 = OOM killed, 139 = segfault — check with `docker inspect --format='{{.State.ExitCode}}'`
- No shell in distroless images — `docker cp` files out or use debug sidecar
## Networking Traps
- Container DNS only works on custom networks — default bridge can't resolve names
- Published ports bind to `0.0.0.0` — use `127.0.0.1:5432:5432` for local-only
- Zombie connections from killed containers — set health checks and restart policies
## Compose Traps
- `depends_on` waits for container start, not service ready — use `condition: service_healthy`
- `.env` file in wrong directory silently ignored — must be next to docker-compose.yml
- Volume mounts overwrite container files — empty host dir = empty container dir
- YAML anchors don't work across files — use multiple compose files instead
## Volume Traps
- Anonymous volumes accumulate silently — use named volumes
- Bind mounts have permission issues — container user must match host user
- `docker system prune` doesn't remove named volumes — add `--volumes` flag
- Stopped container data persists until container removed
## Resource Leaks
- Dangling images grow unbounded — `docker image prune` regularly
- Build cache grows forever — `docker builder prune` reclaims space
- Stopped containers consume disk — `docker container prune` or `--rm` on run
- Networks pile up from compose projects — `docker network prune`
## Secrets and Security
- ENV and COPY bake secrets into layer history permanently — use secrets mount or runtime env
- `--privileged` disables all security — almost never needed, find specific capability instead
- Images from unknown registries may be malicious — verify sources
- Build args visible in image history — don't use for secrets
## Debugging
- Exit code 137 = OOM killed, 139 = segfault — check `docker inspect --format='{{.State.ExitCode}}'`
- Container won't start: check logs even for failed containers — `docker logs <container>`
- No shell in distroless images — `docker cp` files out or use debug sidecar
- Inspect filesystem of dead container — `docker cp deadcontainer:/path ./local`
## Related Skills
Install with `clawhub install <slug>` if user confirms:
- `devops` — deployment pipelines
- `linux` — host system management
- `server` — server administration
## Feedback
- If useful: `clawhub star docker`
- Stay updated: `clawhub sync`From Fadil369/hnh, MIT.
More from Fadil369/hnh
- 0.502score
cloudflare-dns
Fadil369
Manage Cloudflare DNS records via API.
SkillCFreshness: C★ 1Claude Code +9 - 0.502score
agent-deploy
Fadil369
Deploy a new isolated OpenClaw agent with its own Telegram bot, workspace, and session storage.
SkillCFreshness: C★ 1Claude Code +9 - 0.498score
cloudflare
Fadil369
Manage Cloudflare domains, DNS records, SSL settings, zone configuration, firewall rules, tunnels, and analytics via the Cloudflare API.
SkillCFreshness: C★ 1Claude Code +9 - 0.498score
cloudflare-image-gen
Fadil369
Generate images using Cloudflare Workers AI flux-1-schnell model.
SkillCFreshness: C★ 1Claude Code +9 - 0.495score
website-monitor
Fadil369
Monitor websites for changes, downtime, or specific content.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
authenticated-browse
Fadil369
Navigate to sites that require login using credentials stored in the CF Secrets vault.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
autonomous-research
Fadil369
Conduct comprehensive research independently.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
browser-automation
Fadil369
Control a real Chromium browser to scrape pages, fill forms, click buttons, take screenshots, and automate web workflows.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
code-assistant
Fadil369
Expert code writing, debugging, refactoring, and review across all languages.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
deep-researcher
Fadil369
Conducts multi-step web research with source synthesis and citations.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
field-monitor
Fadil369
Scans software blogs for a topic and writes a weekly what-changed brief.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
data-analyst
Fadil369
Load, explore, and visualize data; build reports and answer questions from datasets.
SkillCFreshness: C★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 1
- Last commit (this folder)
- May 12, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Fadil369/hnh
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.293score
Docker
Fadil369
Docker containers, images, Compose stacks, networking, volumes, debugging, production hardening, and the commands that keep real environments stable.
SkillCFreshness: C★ 1Claude Code +9 - 0.277score
Docker
wpp9527
Docker containers, images, Compose stacks, networking, volumes, debugging, production hardening, and the commands that keep real environments stable.
SkillCFreshness: CClaude Code +9
More from Fadil369
- 0.502score
agent-deploy
Fadil369
Deploy a new isolated OpenClaw agent with its own Telegram bot, workspace, and session storage.
SkillCFreshness: C★ 1Claude Code +9 - 0.502score
cloudflare-dns
Fadil369
Manage Cloudflare DNS records via API.
SkillCFreshness: C★ 1Claude Code +9 - 0.498score
cloudflare
Fadil369
Manage Cloudflare domains, DNS records, SSL settings, zone configuration, firewall rules, tunnels, and analytics via the Cloudflare API.
SkillCFreshness: C★ 1Claude Code +9 - 0.498score
cloudflare-image-gen
Fadil369
Generate images using Cloudflare Workers AI flux-1-schnell model.
SkillCFreshness: C★ 1Claude Code +9 - 0.495score
website-monitor
Fadil369
Monitor websites for changes, downtime, or specific content.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
browser-automation
Fadil369
Control a real Chromium browser to scrape pages, fill forms, click buttons, take screenshots, and automate web workflows.
SkillCFreshness: C★ 1Claude Code +9
Cite this page
Docker skill. Agent Mart. https://agentmart.dev/skills/fadil369-docker (last updated 2026-10-24)