docker-patterns
Docker and Docker Compose patterns for local development, container security, networking, volume strategies, and multi-service orchestration.
Skill by ViewWay
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/viewway-docker-patterns
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
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-patterns
What's inside
- Skill name
docker-patterns- Description
- Docker and Docker Compose patterns for local development, container security, networking, volume strategies, and multi-service orchestration.
- License
- MIT
- Instructions
- 360 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (1)
- SKILL.md
SKILL.md (first lines)
# Docker Patterns
Docker and Docker Compose best practices for containerized development.
## When to Activate
- Setting up Docker Compose for local development
- Designing multi-container architectures
- Troubleshooting container networking or volume issues
- Reviewing Dockerfiles for security and size
- Migrating from local dev to containerized workflow
## Docker Compose for Local Development
### Standard Web App Stack
```yaml
# docker-compose.yml
services:
app:
build:
context: .
target: dev # Use dev stage of multi-stage Dockerfile
ports:
- "3000:3000"
volumes:
- .:/app # Bind mount for hot reload
- /app/node_modules # Anonymous volume -- preserves container deps
environment:
- DATABASE_URL=postgres://postgres:postgres@db:5432/app_dev
- REDIS_URL=redis://redis:6379/0
- NODE_ENV=development
depends_on:
db:
condition: service_healthy
redis:
condition: service_started
command: npm run dev
db:
image: postgres:16-alpine
ports:
- "5432:5432"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: app_dev
volumes:
- pgdata:/var/lib/postgresql/data
- ./scripts/init-db.sql:/docker-entrypoint-initdb.d/init.sql
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 3s
retries: 5
redis:
image: redis:7-alpine
ports:
- "6379:6379"
volumes:
- redisdata:/data
mailpit: # Local email testing
image: axllent/mailpit
ports:
- "8025:8025" # Web UI
- "1025:1025" # SMTP
volumes:
pgdata:
redisdata:
```
### Development vs Production Dockerfile
```dockerfile
# Stage: dependencies
FROM node:22-alpine AS deps
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
# Stage: dev (hot reload, debug tools)
FROM node:22-alpine AS dev
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
EXPOSE 3000
CMD ["npm", "run", "dev"]
# Stage: build
FROM node:22-alpine AS build
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
RUN npm run build && npm prune --production
# Stage: production (minimal image)
FROM node:22-alpine AS production
WORKDIR /app
RUN addgroup -g 1001 -S appgroup && adduser -S appuser -u 1001
USER appuser
COPY --from=build --chown=appuser:appgroup /app/dist ./dist
COPY --from=build --chown=appuser:appgroup /app/node_modules ./node_modules
COPY --from=build --chown=appuser:appgroup /app/package.json ./
ENV NODE_ENV=production
EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=3s CMD wget -qO- http://localhost:3000/health || exit 1
CMD ["node", "dist/server.js"]
```
### Override Files
```yaml
# docker-compose.override.yml (auto-loaded, dev-only settings)
services:
app:
environment:From ViewWay/hermes-by-everythings, MIT.
More from ViewWay/hermes-by-everythings
- 0.519score
frontend-design-ultimate
ViewWay
Create distinctive, production-grade static sites with React, Tailwind CSS, and shadcn/ui — no mockups needed.
SkillCFreshness: C★ 3Claude Code +9 - 0.511score
hermes-by-everythings
ViewWay
多平台多语言编码增强套件。整合 ECC + Ralph 最佳能力。 22 Command + 39 Agent + 自动化 Hooks + 学习系统。 支持 TypeScript/Python/Rust/Go/Java/Kotlin 等10种语言。
SkillCFreshness: C★ 3Claude Code +9 - 0.511score
laravel-patterns
ViewWay
Laravel architecture patterns, routing/controllers, Eloquent ORM, service layers, queues, events, caching, and API resources for production apps.
SkillCFreshness: C★ 3Claude Code +9 - 0.511score
deployment-patterns
ViewWay
Deployment workflows, CI/CD pipeline patterns, Docker containerization, health checks, rollback strategies, and production readiness checklists for web…
SkillCFreshness: C★ 3Claude Code +9 - 0.511score
laravel-security
ViewWay
Laravel security best practices for authn/authz, validation, CSRF, mass assignment, file uploads, secrets, rate limiting, and secure deployment.
SkillCFreshness: C★ 3Claude Code +9 - 0.508score
code-review
ViewWay
Systematic code review patterns covering security, performance, maintainability, correctness, and testing
SkillCFreshness: C★ 3Claude Code +9 - 0.505score
data-scraper-agent
ViewWay
Build a fully automated AI-powered data collection agent for any public source — job boards, prices, news, GitHub, sports, anything.
SkillCFreshness: C★ 3Claude Code +9 - 0.503score
Diagram
ViewWay
Generate diagrams from descriptions with Mermaid, PlantUML, or ASCII for architecture, flows, sequences, and data models.
SkillCFreshness: C★ 3Claude Code +9 - 0.502score
kotlin-patterns
ViewWay
Idiomatic Kotlin patterns, best practices, and conventions for building robust, efficient, and maintainable Kotlin applications with coroutines, null safety…
SkillCFreshness: C★ 3Claude Code +9 - 0.485score
frontend-slides
ViewWay
Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files.
SkillCFreshness: C★ 3Claude Code +9 - 0.277score
diagram-generator
ViewWay
No description from the publisher yet.
SkillCFreshness: C★ 3Claude Code +9
Signals
- Stars
- 3
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 2, 2026 (6 months ago)
- Last release
- May 2, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/ViewWay/hermes-by-everythings
- 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.334score
docker-patterns
lengoctuong2005
Docker and Docker Compose patterns for local development, container security, networking, volume strategies, and multi-service orchestration.
SkillAFreshness: AClaude Code +9 - 0.241score
docker-patterns
victornovais-dev
Docker and Docker Compose patterns for local development, container security, networking, volume strategies, and multi-service orchestration.
SkillDFreshness: DClaude Code +9 - 0.241score
docker-patterns
Sraldon24
Docker and Docker Compose patterns for local development, container security, networking, volume strategies, and multi-service orchestration.
SkillDFreshness: DClaude Code +9
More from ViewWay
- 0.519score
frontend-design-ultimate
ViewWay
Create distinctive, production-grade static sites with React, Tailwind CSS, and shadcn/ui — no mockups needed.
SkillCFreshness: C★ 3Claude Code +9 - 0.511score
laravel-security
ViewWay
Laravel security best practices for authn/authz, validation, CSRF, mass assignment, file uploads, secrets, rate limiting, and secure deployment.
SkillCFreshness: C★ 3Claude Code +9 - 0.511score
deployment-patterns
ViewWay
Deployment workflows, CI/CD pipeline patterns, Docker containerization, health checks, rollback strategies, and production readiness checklists for web…
SkillCFreshness: C★ 3Claude Code +9 - 0.511score
laravel-patterns
ViewWay
Laravel architecture patterns, routing/controllers, Eloquent ORM, service layers, queues, events, caching, and API resources for production apps.
SkillCFreshness: C★ 3Claude Code +9 - 0.511score
hermes-by-everythings
ViewWay
多平台多语言编码增强套件。整合 ECC + Ralph 最佳能力。 22 Command + 39 Agent + 自动化 Hooks + 学习系统。 支持 TypeScript/Python/Rust/Go/Java/Kotlin 等10种语言。
SkillCFreshness: C★ 3Claude Code +9 - 0.508score
code-review
ViewWay
Systematic code review patterns covering security, performance, maintainability, correctness, and testing
SkillCFreshness: C★ 3Claude Code +9
Cite this page
docker-patterns skill. Agent Mart. https://agentmart.dev/skills/viewway-docker-patterns (last updated 2026-10-24)