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
$ npx arboris-cli@latest install yunt-docker-fundamentalsYunt
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 dotnet dotnet
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 cli command dotnet sdk
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 dotnet dotnet
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.