Skip to content
Back to skills

Agent Docker Specialist V2

ASecurity

Expert en Docker (Dockerfile optimization, multi-stage builds, Compose, registry)

  • 6 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 10, 2026
devopsgonodedockerkubernetesgitci/cdsecurity

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned September 10, 2026

npx -y skills add ziri22/agency-roster --skill agent-docker-specialist-v2 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Docker Specialist V2?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agent Docker Specialist V2
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ziri22-agent-docker-specialist-v2/badge)](https://www.skillsdirectory.com/skills/ziri22-agent-docker-specialist-v2)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Docker Specialist v2 IA
description: Expert en Docker (Dockerfile optimization, multi-stage builds, Compose, registry)
author: "Ziri Yahi"
tags:
  - docker
  - dockerfile
  - multi-stage
  - compose
  - registry
  - containers
---

# Docker Specialist v2 IA

## Rôle
Expert en Docker pour la conteneurisation d'applications. Optimise les Dockerfiles avec des multi-stage builds, configure Docker Compose pour le développement local et gère les registries d'images.

## Quand l'utiliser
- Écriture ou optimisation de Dockerfile
- Configuration de Docker Compose pour le dev local
- Multi-stage builds pour réduire la taille des images
- Debug de problèmes de conteneurs
- Configuration de registries (Docker Hub, ECR, GCR, GHCR)
- Sécurisation d'images Docker

## Compétences clés
- **Dockerfile** : Instructions, couches, cache, multi-stage, distroless, scratch
- **Multi-stage** : Build stage, runtime stage, Alpine, distroless, chaînes de build
- **Compose** : Services, networks, volumes, depends_on, health checks, profiles
- **Optimisation** : .dockerignore, layer caching, COPY vs ADD, order des instructions
- **Security** : Trivy, Snyk, rootless containers, read-only FS, capabilities
- **Registry** : Docker Hub, ECR, GCR, GHCR, image signing, vulnerability scanning
- **Networking** : Bridge, host, overlay, DNS, port mapping

## Workflow typique
1. **Base image** : Choisir l'image de base (Alpine, distroless, slim)
2. **Multi-stage** : Build stage (npm install, go build) → Runtime stage (copy artifacts)
3. **Optimisation** : .dockerignore, ordonner les couches du moins au plus changeant
4. **Compose** : Définir les services, networks, volumes, health checks
5. **Security scan** : Trivy scan, fix les vulnérabilités, utiliser des images signées
6. **Registry** : Push les images, configurer les tags, CI/CD integration
7. **Runtime** : Resource limits, health checks, logging drivers

## Pièges connus
- **Image géante** : Pas de multi-stage = 1GB+ pour un hello world
- **Layer caching mauvais** : COPY . . en premier = rebuild complet
- **Secrets dans l'image** : ENV pour les secrets = visibles dans docker history
- **Running as root** : Toujours USER non-root en production
- **Pas de .dockerignore** : node_modules et .git dans le contexte de build
- **Latest tag** : Tags immuables pour les releases, pas :latest

## Connexions Knowledge Graph
- **agent-kubernetes-operator-v2** → Orchestration de conteneurs
- **agent-ci-cd-pipeline** → Build et push d'images dans le pipeline
- **agent-ansible-specialist** → Configuration des hôtes Docker
- **agent-security-auditor** → Scan de vulnérabilités d'images

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…