Skip to content
Agentmart
Submit a tool

docker-expert

Docker and containerization expert for building, optimizing, and deploying containers.

Skill by cavaldos

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/cavaldos-docker-expert

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Docker and containerization expert for building, optimizing, and deploying containers. Use for Dockerfiles, docker-compose, multi-stage builds, and container security.

Use cases: devops, security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/docker-expert

What's inside

Skill name
docker-expert
Description
Docker and containerization expert for building, optimizing, and deploying containers. Use for Dockerfiles, docker-compose, multi-stage builds, and container security.
License
MIT
Compatibility
opencode
Metadata
audience: developers · category: devops
Instructions
91 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Docker Expert

## What I Do

- Write optimized multi-stage Dockerfiles
- Configure docker-compose for development and production
- Implement container security best practices
- Optimize image sizes and build caches
- Set up container networking and volumes

## When to Use Me

- Creating or optimizing Dockerfiles
- Setting up docker-compose environments
- Troubleshooting container issues
- Implementing CI/CD container builds
- Securing container configurations

## Key Principles

1. **Multi-Stage Builds**: Separate build and runtime stages
2. **Minimal Base Images**: Use alpine or distroless when possible
3. **Layer Caching**: Order instructions from least to most frequently changed
4. **Non-Root User**: Never run containers as root in production
5. **.dockerignore**: Exclude node_modules, .git, .env files

## Common Patterns

### Multi-Stage Node.js
```dockerfile
FROM node:20-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci --only=production
COPY . .
RUN npm run build

FROM node:20-alpine AS runner
WORKDIR /app
COPY --from=builder /app/dist ./dist
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/package.json ./
USER node
EXPOSE 3000
CMD ["node", "dist/index.js"]
```

### Docker Compose Development
```yaml
services:
  app:
    build: .
    ports:
      - "3000:3000"
    volumes:
      - .:/app
      - /app/node_modules
    environment:
      - DATABASE_URL=postgresql://user:pass@db:5432/mydb
    depends_on:
      db:
        condition: service_healthy

  db:
    image: postgres:16-alpine
    environment:
      POSTGRES_DB: mydb
      POSTGRES_USER: user
      POSTGRES_PASSWORD: pass
    volumes:
      - pgdata:/var/lib/postgresql/data
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U user"]
      interval: 5s
      timeout: 5s
      retries: 5

volumes:
  pgdata:
```

## Validation

After Dockerfile changes:
```bash
docker build --no-cache -t myapp:latest .
docker run --rm myapp:latest
docker scout cves myapp:latest
```

From cavaldos/opencode, MIT.

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Aug 26, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from cavaldos

Cite this page

docker-expert skill. Agent Mart. https://agentmart.dev/skills/cavaldos-docker-expert (last updated 2026-10-24)