docker
Use when building, running, or debugging Docker containers — Dockerfile creation, compose configurations, image optimization, volume management, and container…
Skill by fworks-tech
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/fworks-tech-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, productivity
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 and code. Checked Oct 26, 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
- Use when building, running, or debugging Docker containers — Dockerfile creation, compose configurations, image optimization, volume management, and container networking. Use ONLY when the task involves Docker specifically, not general deployment.
- License
- MIT
- Instructions
- 81 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Docker ## Overview Docker is the Society's containerization specialist. It handles Dockerfile authoring, Docker Compose orchestration, image optimization, and container debugging. Docker follows the principle of smallest possible image, fewest possible layers, and never running as root. ## When to Use - When creating or optimizing Dockerfiles - When writing or debugging docker-compose.yml configurations - When investigating container startup failures or crashes - When managing Docker volumes and networks - When multi-stage builds are needed to reduce image size - When debugging container networking or port mapping ## Process ### Writing a Dockerfile 1. Start from the smallest base that works (alpine > debian-slim > debian) 2. Use multi-stage builds for compiled languages 3. Combine RUN commands to reduce layers 4. Order layers by change frequency (rarely changing first) 5. Use `.dockerignore` to exclude node_modules, .git, tests 6. Run as non-root user 7. Pin base image versions for reproducibility ### Debugging Containers 1. Check logs: `docker logs <container>` 2. Execute into container: `docker exec -it <container> sh` 3. Inspect: `docker inspect <container>` 4. Check resource usage: `docker stats <container>` 5. Check events: `docker events --filter container=<container>` 6. If all else fails: `docker system df` to check disk usage ### Docker Compose 1. Define services with clear names 2. Use `depends_on` with health checks 3. Mount volumes for development, use named volumes for production 4. Set restart policies: `unless-stopped` for services 5. Use `.env` files for secrets, never hardcode ### Image Optimization 1. Use `--no-cache-dir` for package managers 2. Clean up in the same RUN layer: `apt-get clean && rm -rf /var/lib/apt/lists/*` 3. Use `.dockerignore` aggressively 4. Scan with `docker scout quickview <image>` 5. Check image size: `docker images <name>` ## Red Flags - Running containers as root without justification - Using `latest` tag for base images in production - Copying node_modules into the image - Multi-stage builds that don't actually reduce size - Missing health checks in compose for dependent services ## Rationalizations | What you think | What Docker knows | |----------------|------------------| | "Alpine is too limiting" | Alpine images are 5MB vs 200MB+. The limitation forces better practices. | | "Multi-stage builds are too complex" | A 200MB image with build tools in production is more complex to debug. | | "Just use COPY . ." | You're copying .git, node_modules, and tests into your image. Use .dockerignore. | | "Health checks slow down startup" | Without them, compose starts dependent services before the dependency is ready. | ## Verification Before confirming the change is done: - [ ] Dockerfile builds without errors: `docker build -t test .` - [ ] Image size is reasonable for the language/framework - [ ] Container starts and passes health check - [ ] No secrets or credentials in the image layers - [ ] `.dockerignore` excludes development artifacts - [ ] docker-compose.yml validates: `docker compose config`
From fworks-tech/agenthood, MIT.
More from fworks-tech/agenthood
- 0.604score
git
fworks-tech
Use when performing git operations — branching, rebasing, stashing, bisecting, resolving merge conflicts, or recovering lost commits.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
mcp-github
fworks-tech
Use when reviewing PRs, checking CI status, or interacting with GitHub via MCP.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
postgres
fworks-tech
Use when querying, managing, or debugging PostgreSQL databases — schema design, query optimization, migrations, indexing, and connection pooling.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
redis
fworks-tech
Use when interacting with Redis — caching strategies, pub/sub, rate limiting, session storage, queue management, and debugging key expiration.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
accessibility-auditor
fworks-tech
Audits web interfaces for WCAG compliance — semantic HTML, ARIA, keyboard navigation, color contrast, screen reader compatibility, and accessible forms.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
bug-fix-teammate
fworks-tech
Identifies critical bugs in a codebase and implements targeted fixes with working code — root cause, minimal change, regression tests.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
cleanup-specialist
fworks-tech
Removes dead code, eliminates duplication, refactors messy patterns, and applies consistent formatting across code and documentation — safely, with tests…
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
concept-explainer
fworks-tech
Breaks down complex technical concepts in beginner-friendly ways with analogies, practical examples, and understanding checks.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
context-economy
fworks-tech
Monitors context window capacity, routes tasks to minimal member set, and triggers session triage.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
cross-provider-translation
fworks-tech
Detects AI providers, translates skill files to provider-native formats, and validates conventions.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
debugging-tutor
fworks-tech
Teaches systematic debugging methodology — reproduction, isolation, hypothesis formation, and independent problem-solving — rather than handing out quick fixes.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
api
fworks-tech
Use when designing, building, or testing REST APIs — endpoint design, authentication, error handling, pagination, versioning, and OpenAPI documentation.
SkillAFreshness: A★ 3Claude Code +9
Signals
- Stars
- 3
- Forks
- 0
- Open issues
- 95
- Last commit (this folder)
- Sep 5, 2026 (1 month ago)
- Last release
- Oct 8, 2026 (20 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/fworks-tech/agenthood
- Website
- agenthood.flabs.tech/
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from fworks-tech
- 0.604score
mcp-github
fworks-tech
Use when reviewing PRs, checking CI status, or interacting with GitHub via MCP.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
postgres
fworks-tech
Use when querying, managing, or debugging PostgreSQL databases — schema design, query optimization, migrations, indexing, and connection pooling.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
redis
fworks-tech
Use when interacting with Redis — caching strategies, pub/sub, rate limiting, session storage, queue management, and debugging key expiration.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
accessibility-auditor
fworks-tech
Audits web interfaces for WCAG compliance — semantic HTML, ARIA, keyboard navigation, color contrast, screen reader compatibility, and accessible forms.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
bug-fix-teammate
fworks-tech
Identifies critical bugs in a codebase and implements targeted fixes with working code — root cause, minimal change, regression tests.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
git
fworks-tech
Use when performing git operations — branching, rebasing, stashing, bisecting, resolving merge conflicts, or recovering lost commits.
SkillAFreshness: A★ 3Claude Code +9
Cite this page
docker skill. Agent Mart. https://agentmart.dev/skills/fworks-tech-docker (last updated 2026-10-24)