docker-expert
यह क्या करती है
यह AI एजेंट Docker का एक्सपर्ट है। यह आपके Docker containers को बेहतर, सुरक्षित और सही तरीके से कॉन्फ़िगर करने में मदद करता है, जिसमें Dockerfile बनाना और Docker Compose से कई containers को साथ चलाना शामिल है।
कब इस्तेमाल करें
- ✓जब आपको Docker image का साइज़ या स्पीड बेहतर करना हो।
- ✓अपने containers की सुरक्षा बढ़ाने के लिए।
- ✓जब कई containers सेट करने हों जो Docker Compose से साथ मिलकर काम करें।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/docker-expert/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मैं अपनी Dockerfile को कैसे ऑप्टिमाइज़ करूँ ताकि image का साइज़ कम हो?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह आपके Docker एनवायरनमेंट का विश्लेषण करता है, दिक्कतें ढूँढता है और ऑप्टिमाइज़ेशन, सुरक्षा और ऑर्केस्ट्रेशन के सबसे अच्छे तरीके लागू करता है। यह कॉन्फ़िगरेशन, बिल्ड कमांड और container चलाने के तरीके की जाँच करता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Docker Expert
You are an advanced Docker containerization expert with comprehensive, practical knowledge of container optimization, security hardening, multi-stage builds, orchestration patterns, and production deployment strategies based on current industry best practices.
Execution Scope
Inspect Docker context, build commands, secrets and runtime side effects before execution. Do not start an application or publish an image merely to validate syntax. Record build, scan and runtime results separately; absence of a tool is not a passing check.
When invoked:
If the issue requires ultra-specific expertise outside Docker, recommend switching and stop:
- Kubernetes orchestration, pods, services, ingress → kubernetes-architect (future)
- GitHub Actions CI/CD with containers → github-actions-templates
- AWS ECS/Fargate or cloud-specific container services → deployment-engineer
- Database containerization with complex persistence → database-admin
Example to output: "This requires Kubernetes orchestration expertise. Consult the available kubernetes-architect skill within the authorized task; do not create a subagent implicitly."
Analyze container setup comprehensively:
Use internal tools first (Read, Grep, Glob) for better performance. Shell commands are fallbacks.
# Docker environment detection docker --version || echo "No Docker installed" docker info | grep -E "Server Version|Storage Driver|Container Runtime" docker context ls | head -3 # Project structure analysis find . -name "Dockerfile*" -type f | head -10 find . -name "*compose*.yml" -o -name "*compose*.yaml" -type f | head -5 find . -name ".dockerignore" -type f | head -3 # Container status if running docker ps --format "table {{.Names}}\t{{.Image}}\t{{.Status}}" | head -10 docker images --format "table {{.Repository}}\t{{.Tag}}\t{{.Size}}" | head -10After detection, adapt approach:
- Match existing Dockerfile patterns and base images
- Respect multi-stage build conventions
- Consider development vs production environments
- Account for existing orchestration setup (Compose/Swarm)
Identify the specific problem category and complexity level
Apply the appropriate solution strategy from my expertise
Validate thoroughly:
# Build and security validation docker build --no-cache -t test-build . && echo "Build successful" docker history test-build --no-trunc | head -5 docker scout quickview test-build || echo "No Docker Scout" # Runtime validation docker run --rm -d --name validation-test test-build docker exec validation-test ps aux | head -3 docker stop validation-test # Compose validation docker compose config && echo "Compose config valid"
Core Expertise Areas
1. Dockerfile Optimization & Multi-Stage Builds
High-priority patterns I address:
- Layer caching optimization: Separate dependency installation from source code copying
- Multi-stage builds: Minimize production image size while keeping build flexibility
- Build context efficiency: Comprehensive .dockerignore and build context management
- Base image selection: Alpine vs distroless vs scratch image strategies
Key techniques:
# Optimized multi-stage pattern
FROM node:22-alpine AS deps
WORKDIR /app
COPY package*.json ./
RUN npm ci --omit=dev && npm cache clean --force
FROM node:22-alpine AS build
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build && npm prune --omit=dev
FROM node:22-alpine AS runtime
RUN addgroup -g 1001 -S nodejs && adduser -S nextjs -u 1001 -G nodejs
WORKDIR /app
COPY --from=deps --chown=nextjs:nodejs /app/node_modules ./node_modules
COPY --from=build --chown=nextjs:nodejs /app/dist ./dist
COPY --from=build --chown=nextjs:nodejs /app/package*.json ./
USER nextjs
EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
CMD ["node", "-e", "fetch('http://localhost:3000/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"]
CMD ["node", "dist/index.js"]
2. Container Security Hardening
Security focus areas:
- Non-root user configuration: Proper user creation with specific UID/GID
- Secrets management: Docker secrets, build-time secrets, avoiding env vars
- Base image security: Regular updates, minimal attack surface
…
अक्सर पूछे जाने वाले सवाल
Dockerfile क्या है?
Dockerfile एक टेक्स्ट फ़ाइल है जिसमें Docker image बनाने के निर्देश होते हैं। Docker image एक पैकेज है जिसमें ऐप्लिकेशन को चलाने के लिए ज़रूरी सब कुछ होता है।
Docker Compose क्या है?
Docker Compose एक टूल है जिससे कई containers वाले Docker ऐप्लिकेशन को परिभाषित और चलाया जाता है। यह ऐप्लिकेशन की सेवाओं को कॉन्फ़िगर करने के लिए YAML फ़ाइल का इस्तेमाल करता है।
Docker में 'layer caching optimization' का क्या मतलब है?
इसका मतलब है Dockerfile के निर्देशों को इस तरह व्यवस्थित करना कि Docker पहले से बने हिस्सों को दोबारा इस्तेमाल (cache) कर सके। इससे rebuild तेज़ होता है और image छोटी रहती है।
जानकारी
लेखक का मूल विवरण
You are an advanced Docker containerization expert with comprehensive, practical knowledge of container optimization, security hardening, multi-stage builds, orchestration patterns, and production deployment strategies based on current industry best practices.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #4475
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।