claude-home/patterns/docker
Cal Corum df3d22b218 CLAUDE: Expand documentation system and organize operational scripts
- Add comprehensive Tdarr troubleshooting and GPU transcoding documentation
- Create /scripts directory for active operational scripts
- Archive mapped node example in /examples for reference
- Update CLAUDE.md with scripts directory context triggers
- Add distributed transcoding patterns and NVIDIA troubleshooting guides
- Enhance documentation structure with clear directory usage guidelines

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-09 15:53:09 -05:00
..
distributed-transcoding.md CLAUDE: Expand documentation system and organize operational scripts 2025-08-09 15:53:09 -05:00
gpu-acceleration.md CLAUDE: Add complete GPU transcoding solution for Tdarr containers 2025-08-09 00:47:12 -05:00
README.md CLAUDE: Initialize efficient documentation system for home lab 2025-08-08 19:59:29 -05:00

Docker Patterns

Container Best Practices

  • Use multi-stage builds for production images
  • Minimize layer count and image size
  • Run containers as non-root users
  • Use specific version tags, avoid latest
  • Implement health checks

Common Patterns

  • Multi-service applications: Use docker-compose for local development
  • Production deployments: Single-container per service with orchestration
  • Development environments: Volume mounts for code changes
  • CI/CD integration: Build, test, and push in pipeline stages

Security Considerations

  • Scan images for vulnerabilities
  • Use distroless or minimal base images
  • Implement resource limits
  • Network isolation between services
  • Examples: /examples/docker/multi-stage-builds.md
  • Examples: /examples/docker/compose-patterns.md
  • Reference: /reference/docker/troubleshooting.md
  • Reference: /reference/docker/security-checklist.md