Agent skill
docker
Complete Docker containerization patterns with multi-stage builds for development and production workflows
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/operations/devtools/docker
SKILL.md
Docker
When to Use This Skill
USE when:
- Building reproducible development environments
- Creating consistent CI/CD pipelines
- Deploying microservices architectures
- Isolating application dependencies
- Packaging applications for distribution
- Setting up local development with multiple services
- Need portable environments across teams
DON'T USE when:
- Simple scripts that don't need isolation
- Applications that require direct hardware access
- Environments where containers aren't permitted
- Tasks better suited for virtual machines (full OS isolation)
- When simpler alternatives like venv suffice
Prerequisites
Installation
Linux (Ubuntu/Debian):
# Install Docker Engine
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
# Add user to docker group
sudo usermod -aG docker $USER
newgrp docker
*See sub-skills for full details.*
## Version History
- **1.0.0** (2026-01-17): Initial release
- Dockerfile best practices and multi-stage builds
- Docker Compose orchestration patterns
- Development and production configurations
- CI/CD integration examples
- Networking and volume management
- Troubleshooting guide
---
**Use this skill to build consistent, reproducible containerized environments across development, testing, and production!**
## Sub-Skills
- [1. Basic Dockerfile Patterns](1-basic-dockerfile-patterns/SKILL.md)
- [2. Multi-Stage Builds](2-multi-stage-builds/SKILL.md)
- [3. Docker Compose for Development](3-docker-compose-for-development/SKILL.md)
- [4. Networking Patterns (+1)](4-networking-patterns/SKILL.md)
- [6. Development Workflow Scripts](6-development-workflow-scripts/SKILL.md)
- [1. CI/CD Pipeline Integration (+2)](1-cicd-pipeline-integration/SKILL.md)
- [4. Database Migration Pattern](4-database-migration-pattern/SKILL.md)
- [1. Image Optimization (+4)](1-image-optimization/SKILL.md)
- [Common Issues and Solutions (+1)](common-issues-and-solutions/SKILL.md)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-complete-milestone
Archive completed milestone and prepare for next version
gsd-reapply-patches
Reapply local modifications after a GSD update
gsd-verify-work
Validate built features through conversational UAT
gsd-thread
Manage persistent context threads for cross-session work
clinical-trial-protocol
Generate clinical trial protocols for medical devices or drugs through a modular, waypoint-based architecture with research-only and full protocol modes.
single-cell-rna-qc
Performs quality control on single-cell RNA-seq data (.h5ad or .h5 files) using scverse best practices with MAD-based filtering and comprehensive visualizations.
Didn't find tool you were looking for?