Skills for Real Engineers. Straight from my .agents directory.
docker-management
Agent skill fromBagelHole/DevOps-Security-Agent-Skills
Build, optimize, and troubleshoot Docker containers and images. Create efficient Dockerfiles, manage container lifecycle, configure networking and volumes, and debug container issues. Use when working with Docker, containerization, or container troubleshooting.
How to install docker-management
npx skills add BagelHole/DevOps-Security-Agent-Skills# or add only this skill to Claude Code: copy the folder
devops/containers/docker-management/
# into
~/.claude/skills/docker-management/ (all projects)
.claude/skills/docker-management/ (one project)
1# Docker Management23Build, run, and manage Docker containers for application deployment and development.45## When to Use This Skill67Use this skill when:8- Creating and optimizing Dockerfiles9- Building and tagging Docker images10- Running and managing containers11- Debugging container issues12- Configuring Docker networking and volumes13- Implementing container security best practices1415## Prerequisites1617- Docker Engine installed (20.10+)18- Basic command line knowledge19- Understanding of application deployment2021## Dockerfile Best Practices2223### Multi-Stage Build2425```dockerfile26# Build stage27FROM node:20-alpine AS builder28WORKDIR /app29COPY package*.json ./30RUN npm ci --only=production31COPY . .32RUN npm run build3334# Production stage35FROM node:20-alpine AS production36WORKDIR /app37RUN addgroup -g 1001 -S nodejs && \38 adduser -S nodejs -u 100139COPY --from=builder --chown=nodejs:nodejs /app/dist ./dist40COPY --from=builder --chown=nodejs:nodejs /app/node_modules ./node_modules41USER nodejs42EXPOSE 300043CMD ["node", "dist/index.js"]44```4546### Layer Optimization4748```dockerfile49FROM python:3.12-slim5051# Install dependencies first (cached unless requirements change)52COPY requirements.txt .53RUN pip install --no-cache-dir -r requirements.txt5455# Copy application code (changes frequently)56COPY . .5758CMD ["python", "app.py"]59```6061### Security Hardening6263```dockerfile64FROM node:20-alpine6566# Create non-root user67RUN addgroup -g 1001 appgroup && \68 adduser -u 1001 -G appgroup -D appuser69…
Excerpt shown under the repository's MIT license.
More skills in DevOps-Security-Agent-Skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
