
Docker Best Practices
Opinionated Docker guidance covering Dockerfiles, base images, runtime hardening, and Compose for local development.
- skills.sh installs
- 950
- GitHub stars
- 66
- last updated
- Aug 21, 2026
What it does
- Covers image building (base selection, multi-stage builds, layer ordering, and
.dockerignore) plus container runtime settings like resource limits, logging, and restart policies - Provides Dockerfile templates by language, an image-size checklist, a
.dockerignoretemplate, HEALTHCHECK patterns, and Compose dev-stack examples - Enforces pinned tags over
latestand least-privilege runtime flags such as--cap-drop=ALL,--read-only, and non-root users - Designed for teams building production container images who also want consistent local Compose stacks
Install
$ npx -y skills add josiahsiegel/claude-plugin-marketplace --skill docker-best-practices -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
🚨 CRITICAL GUIDELINES
Windows File Path Requirements
MANDATORY: Always Use Backslashes on Windows for File Paths
When using Edit or Write tools on Windows, you MUST use backslashes (\) in file paths, NOT forward slashes (/).
Examples:
- ❌ WRONG:
D:/repos/project/file.tsx - ✅ CORRECT:
D:\repos\project\file.tsx
This applies to:
- Edit tool file_path parameter
- Write tool file_path parameter
- All file operations on Windows systems
Documentation Guidelines
NEVER create new documentation files unless explicitly requested by the user.
- Priority: Update existing README.md files rather than creating new documentation
- Repository cleanliness: Keep repository root clean - only README.md unless user requests otherwise
- Style: Documentation should be concise, direct, and professional - avoid AI-generated tone
- User preference: Only create additional .md files when user specifically asks for documentation
Docker Best Practices
This skill provides current Docker best practices across all aspects of container development, deployment, and operation.
Image Best Practices
Base Image Selection
Details
- Repository
- github.com/josiahsiegel/claude-plugin-marketplace
- Category
- DevOps & Cloud
- First seen
- Apr 16, 2026
More from josiahsiegel/claude-plugin-marketplace
All 26- Git Master821
- Tailwindcss Advanced Design Systems659
- Docker Security Guide626
- Tailwindcss Responsive Darkmode480
- Bash Master464
- Context Master401
- Tailwindcss Fundamentals V4398
- Tailwindcss Accessibility302
- Tailwindcss Framework Integration298
- Sql Server 2025261
- Tailwindcss Advanced Components253
- Tailwindcss Performance239
- Powershell Shell Detection211
- Opentofu Guide210
- Tailwindcss Debugging209
- Tailwindcss Plugins204
- Windows Path Troubleshooting199
- Debugging Troubleshooting 2025198
- Ado Pipeline Best Practices182
- Parallel Processing Patterns181
- Docker 2025 Features180
- Tailwindcss Advanced Layouts8.2K
- Tailwindcss Animations2.4K
- Tailwindcss Mobile First2.1K
Similar to Docker Best Practices
More DevOps & Cloud
dockerrightnow-ai/openfang153 installsExpert Docker guidance for building, debugging, and optimizing containers, Dockerfiles, and Compose stacks.
docker-containerizationaj-geddes/useful-ai-prompts683 installsPractical Dockerfile and Compose guidance that builds small, hardened container images with multi-stage builds.
docker-expertdavila7/claude-code-templates900 installsComprehensive Docker containerization guidance covering multi-stage builds, image size reduction, container hardening, and Compose orchestration.
docker-developmentalirezarezvani/claude-skills731 installsOpinionated Docker workflow for optimizing Dockerfiles, composing services, and auditing container security.
multi-stage-dockerfilegithub/awesome-copilot31.7K installsGuided Dockerfile design that splits builds into stages for smaller, more secure runtime images.