Logo Yunt
Infra, Ops & WorkflowAttention9393/100

Yunt Docker Fundamentals

Fondamentaux Docker (Yunt Academy) : modèle mental image/conteneur/registre, différence avec une VM, installation Docker Engine ou Desktop, vérification et diagnostic d’une install. À utiliser pour expliquer Docker, installer l’outil, ou débloquer « daemon », permissions et hello-world.

ou envoie-le directement à ton agent.

Installer dans ton projet

$ curl -fsSL https://arboristhree.xyz/cli/install-skill.mjs -o /tmp/arboris-install-skill.mjs && node /tmp/arboris-install-skill.mjs yunt-docker-fundamentals
Logo Yunt
Yunt
academy.yunt.fr
Contenu à copier
---
name: yunt-docker-fundamentals
description: >
  Fondamentaux Docker (Yunt Academy) : modèle mental image/conteneur/registre,
  différence avec une VM, installation Docker Engine ou Desktop, vérification
  et diagnostic d’une install. À utiliser pour expliquer Docker, installer
  l’outil, ou débloquer « daemon », permissions et hello-world.
metadata:
  origin: Yunt
  course: Conteneuriser ses projets web avec Docker
  source: https://academy.yunt.fr/dashboard/catalogue
---

# Yunt — Fondamentaux Docker

Compétences issues du cours Yunt Academy *Conteneuriser ses projets web avec Docker* (chapitres concepts + installation), condensées pour un agent.

## When to Activate

- Expliquer ce qu’est un conteneur vs une VM
- Installer ou vérifier Docker (Engine / Desktop)
- Diagnostiquer `command not found`, `Cannot connect to the Docker daemon`, `permission denied`
- Lever une confusion image / conteneur / registre / couche

## When not to use

- Manipuler des conteneurs déjà installés → `yunt-docker-containers`
- Dockerfile / build → `yunt-docker-images-build`
- Volumes, réseaux, Compose → skills dédiés

## Modèle mental

- **Image** : modèle immuable (couches en lecture seule). Ne s’exécute pas.
- **Conteneur** : instance d’une image + couche modifiable éphémère. Quand le PID 1 se termine, le conteneur s’arrête.
- **Registre** : distribution d’images (Docker Hub par défaut).
- **Isolation** : namespaces + cgroups sur le noyau **partagé** de l’hôte (pas un second OS comme une VM).
- **Éphémérité** : tout écrit dans le FS du conteneur disparaît avec lui, sauf volume / bind mount.

## Installer et vérifier

**Choix** : Docker Engine (Linux serveur) vs Docker Desktop (macOS / Windows / Linux desktop, VM Linux embarquée).

**Linux (Engine)** — dépôts officiels Docker recommandés ; ajouter l’utilisateur au groupe `docker` (équivalent root sur le socket).

**Vérification minimale** (installation validée seulement si un conteneur tourne vraiment) :

```bash
docker --version
docker info
docker run --rm hello-world
```

### Erreurs fréquentes

| Symptôme | Cause typique | Piste |
| --- | --- | --- |
| `command not found` | PATH / paquet manquant | Réinstaller le client |
| `Cannot connect to the Docker daemon` | Daemon arrêté, Desktop off, mauvais contexte | Démarrer le service / Desktop ; `docker context ls` |
| `permission denied` sur le socket | Pas dans le groupe `docker` | `usermod -aG docker $USER` puis re-login |

## Méthodologie agent

1. Clarifier la confusion (vocabulaire vs install vs runtime).
2. Ancrer sur image → conteneur → couche éphémère.
3. Proposer une commande d’observation (`version`, `info`, `hello-world`).
4. Renvoyer vers le skill opérationnel pour l’action suivante.

## Attribution

Contenu pédagogique condensé avec autorisation du créateur — Yunt Academy.
Colle ce Markdown dans ton agent ou utilise les boutons ci-dessus pour l’écrire dans ton projet.

Ce que fait Yunt Docker Fundamentals

Expliquer ce qu’est un conteneur vs une VM
Installer ou vérifier Docker (Engine / Desktop)
Diagnostiquer `command not found`, `Cannot connect to the Docker daemon`, `permission denied`
Lever une confusion image / conteneur / registre / couche

Comment utiliser Yunt Docker Fundamentals

1
Copie le prompt
Un clic copie le prompt packagé (ou l'envoie à ton agent).
2
L'agent installe le skill
Il ajoute le SKILL.md et ses ressources à ton projet.
3
Activation automatique
Le skill s'active dès que le contexte correspond.

Déclencheurs pour Yunt Docker Fundamentals

Dis simplement à ton agent quelque chose comme :

Applique le skill yunt-docker-fundamentals à cette tâche
Utilise yunt-docker-fundamentals pour améliorer cette implémentation
Passe en revue ce sujet avec yunt-docker-fundamentals

Skills liés à Yunt Docker Fundamentals

Add CLI Command (.NET)
Add or change a dotnet CLI command, subcommand, or option across the relevant CLI projects. USE FOR: adding or changing a dotnet CLI command/subcommand, adding a new Option<T> or Argument<T>, registering a subcommand in the command tree, changing an option's help description or a command's runtime message, wiring a command parser, or updating --help output.
Add Dotnet Aot Command (.NET)
Add, enable, or review a dotnet CLI command or feature in the Native AOT CLI (src/Cli/dotnet-aot) and prove its compatibility. USE FOR: migrating a command or option to AOT, reviewing an AOT migration PR, defining conservative eligibility and managed fallback, changing AotSourceFiles.props or AotDependencies.props, validating AOT/managed parity, NativeAOT-publishing tests, checking binary-size impact, or using the dn harness and separated SDK layout. DO NOT USE FOR: resolving IL trim/AOT analyzer warnings alone (use dotnet-aot-compat), running dotnet.Tests incrementally (use incremental-test), or pure managed CLI work.
Add Net Analyzer (.NET)
Add, port, or change a .NET code analysis rule (CA####) under src/Microsoft.CodeAnalysis.NetAnalyzers. USE FOR: implementing a new CA analyzer and its code fixer, porting a rule or PR from the retired dotnet/roslyn-analyzers repo, allocating a diagnostic ID from DiagnosticCategoryAndIdRanges.txt, choosing RuleLevel/severity/category, wiring resx + xlf strings, recording the rule in AnalyzerReleases.Unshipped.md, regenerating the analyzer documentation/sarif files, and writing MSTest analyzer/code-fix tests with the VerifyCS/VerifyVB harness. DO NOT USE FOR: NETSDK#### MSBuild diagnostics (src/Tasks), CS####/BC#### compiler diagnostics or IDE#### analyzers (dotnet/roslyn), or CONTAINER#### diagnostics (src/Containers).