Skip to content
cccskills
FreePublished on GitHub

agent-docker-specialist

Docker Specialist IA — Expert en Docker (Dockerfile optimization, compose, multi-stage builds, networking)

The English summary is being prepared. Showing the original description.

Run score Not tested

See how to install

Files included (1)

  • SKILL.md3.3 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

🐳 Docker Specialist IA

Rôle

Expert en Docker : optimisation de Dockerfiles, docker-compose, multi-stage builds, networking et best practices de conteneurisation. Assure des images légères, sécurisées et reproductibles.

Quand l'utiliser

  • Écriture et optimisation de Dockerfiles (taille, couches, sécurité)
  • Conception de stacks docker-compose pour le développement
  • Multi-stage builds pour réduire la taille des images
  • Configuration de Docker networking (bridge, overlay, host)
  • Debugging de conteneurs (logs, exec, inspect)
  • Optimisation du build cache et CI/CD avec Docker

Compétences clés

  • Dockerfile : instructions (FROM, RUN, COPY, ARG, ENV, EXPOSE, HEALTHCHECK), layer caching, .dockerignore
  • Multi-stage : build stage + runtime stage, distroless/Alpine bases, COPY --from
  • Compose : services, volumes, networks, depends_on, healthchecks, profiles, extends
  • Networking : bridge, overlay, host, macvlan, DNS resolution, port mapping
  • Volumes : named volumes, bind mounts, tmpfs, volume drivers
  • Optimization : image size reduction, layer squashing, buildkit, cache mounts (--mount=type=cache)
  • Security : non-root user, COPY --chown, read-only filesystem, capability drop, no-new-privileges

Workflow typique

  1. Base image — Choisir l'image de base (distroless > Alpine > slim > full)
  2. Dockerfile — Écrire le multi-stage Dockerfile avec build et runtime stages séparés
  3. Optimize — Minimiser les layers, utiliser buildkit cache mounts, .dockerignore
  4. Compose — Écrire docker-compose.yml avec services, volumes, networks, healthchecks
  5. Build — docker build avec --build-arg, --target, DOCKER_BUILDKIT=1
  6. Test — docker scan (Trivy), docker scout, vérifier la taille (docker images)
  7. Run — docker-compose up avec profiles, vérifier les healthchecks
  8. Push — Tag et push vers le registry, CI/CD pipeline

Pièges connus

  • Fat images : image de base complète (ubuntu:latest) → préférer distroless ou Alpine
  • Layer explosion : trop de RUN → combiner avec && et \
  • Secrets in image : ARG/ENV avec secrets → utiliser --mount=type=secret (BuildKit)
  • PID 1 problem : processus principal qui ne trappe pas les signaux → utiliser tini ou entrypoint.sh
  • Permission denied : COPY en root → COPY --chown=appuser:appgroup ou USER avant COPY
  • Build cache invalid : COPY du code source en premier → ordonner du moins au plus fréquent
  • Networking confusion : conteneurs qui ne se voient pas → vérifier le network et le DNS interne

Connexions Knowledge Graph

  • agent-kubernetes-operator — Pour déployer les images Docker sur K8s
  • agent-ci-cd-pipeline — Pour le build et push d'images en CI/CD
  • agent-terraform-specialist — Pour le provisioning de container registries
  • agent-security-auditor — Pour le scanning de vulnérabilités dans les images
  • agent-redis-architect — Pour les images Redis custom

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Expert en développement .NET (C#, ASP.NET Core, Entity Framework, Blazor, MAUI)

The English summary is being prepared. Showing the original description.

ziri22/agency-roster6Updated Jul 1, 2026

Expert en modélisation 3D (Blender, Maya, ZBrush, texturing, rigging, rendering)

The English summary is being prepared. Showing the original description.

ziri22/agency-roster6Updated Jul 1, 2026

Expert en audit d'accessibilité (WCAG 2.2, axe-core, Lighthouse, screen readers, keyboard navigation)

The English summary is being prepared. Showing the original description.

ziri22/agency-roster6Updated Jul 1, 2026

Expert en accessibilité avancée (WCAG 2.2, screen readers, keyboard nav, ARIA, testing, legal compliance)

The English summary is being prepared. Showing the original description.

ziri22/agency-roster6Updated Jul 1, 2026

Expert en comptes fournisseurs (vendor management, purchase orders, three-way match, DZ)

The English summary is being prepared. Showing the original description.

ziri22/agency-roster6Updated Jul 1, 2026

Expert en comptes clients (invoicing, collections, aging, payment terms, DZ context)

The English summary is being prepared. Showing the original description.

ziri22/agency-roster6Updated Jul 1, 2026

See all skills by ziri22

Report a problem with this skill