Demo/docker #18

Merged
xavier merged 5 commits from demo/docker into main 2026-11-21 20:27:37 +01:00
4 changed files with 20 additions and 10 deletions
Showing only changes of commit d33ee6d84f - Show all commits

No files matched your search

+6 -3
View File
@@ -17,7 +17,8 @@ This repository contains a collection of LXD profiles and network configurations
### Plain `lxc`, without mise ### Plain `lxc`, without mise
![Create a profile from its YAML file with lxc](demo/lxc.gif) ![Create a profile from its YAML file with lxc](demo/lxc.gif)
<sub>▶ [asciinema recording](demo/lxc.cast) (pause, fast forward)</sub>
<sub>▶ [asciinema recording](demo/lxc.cast)</sub>
### Tour of the mise tasks ### Tour of the mise tasks
@@ -25,7 +26,8 @@ Welcome message when entering the directory, profile list with their state in
LXD, profile content and diff between LXD and the repository. LXD, profile content and diff between LXD and the repository.
![Welcome message, profile list, profile content and diff](demo/tour.gif) ![Welcome message, profile list, profile content and diff](demo/tour.gif)
<sub>▶ [asciinema recording](demo/tour.cast) (pause, fast forward)</sub>
<sub>▶ [asciinema recording](demo/tour.cast)</sub>
### Install, update and import a profile ### Install, update and import a profile
@@ -34,7 +36,8 @@ the diff and asks for confirmation; `import` brings the change back into the
repository instead. repository instead.
![Install a profile, update it after a change in LXD, import it back](demo/install.gif) ![Install a profile, update it after a change in LXD, import it back](demo/install.gif)
<sub>▶ [asciinema recording](demo/install.cast) (pause, fast forward)</sub>
<sub>▶ [asciinema recording](demo/install.cast)</sub>
## Tutorials ## Tutorials
+6 -3
View File
@@ -18,7 +18,8 @@ le déploiement et la gestion de conteneurs LXD.
### Avec `lxc` seul, sans mise ### Avec `lxc` seul, sans mise
![Création d'un profil à partir de son fichier YAML avec lxc](demo/lxc.gif) ![Création d'un profil à partir de son fichier YAML avec lxc](demo/lxc.gif)
<sub>▶ [Enregistrement asciinema](demo/lxc.cast) (pause, avance rapide)</sub>
<sub>▶ [Enregistrement asciinema](demo/lxc.cast)</sub>
### Tour des tâches mise ### Tour des tâches mise
@@ -26,7 +27,8 @@ Message d'accueil à l'entrée dans le dossier, liste des profils avec leur éta
dans LXD, contenu d'un profil et différences entre LXD et le dépôt. dans LXD, contenu d'un profil et différences entre LXD et le dépôt.
![Message d'accueil, liste des profils, contenu d'un profil et diff](demo/tour.gif) ![Message d'accueil, liste des profils, contenu d'un profil et diff](demo/tour.gif)
<sub>▶ [Enregistrement asciinema](demo/tour.cast) (pause, avance rapide)</sub>
<sub>▶ [Enregistrement asciinema](demo/tour.cast)</sub>
### Installer, mettre à jour et importer un profil ### Installer, mettre à jour et importer un profil
@@ -35,7 +37,8 @@ affiche le diff et demande une confirmation ; `import` rapatrie au contraire
la modification dans le dépôt. la modification dans le dépôt.
![Installation d'un profil, mise à jour après une modification dans LXD, puis import](demo/install.gif) ![Installation d'un profil, mise à jour après une modification dans LXD, puis import](demo/install.gif)
<sub>▶ [Enregistrement asciinema](demo/install.cast) (pause, avance rapide)</sub>
<sub>▶ [Enregistrement asciinema](demo/install.cast)</sub>
## Tutoriels ## Tutoriels
+4 -2
View File
@@ -12,7 +12,8 @@ This tutorial starts from scratch: get this repository, install the
by itself at first boot, then use it. by itself at first boot, then use it.
![Clone the repository, install the profile, launch the instance and follow cloud-init](install.gif) ![Clone the repository, install the profile, launch the instance and follow cloud-init](install.gif)
<sub>▶ [asciinema recording](install.cast) (pause, fast forward)</sub>
<sub>▶ [asciinema recording](install.cast)</sub>
## What you need ## What you need
@@ -167,7 +168,8 @@ and the `docker0` bridge Docker just created inside.
## 4. Use Docker ## 4. Use Docker
![hello-world with lxc exec, then a shell in the instance: nginx, docker ps, top, stats](usage.gif) ![hello-world with lxc exec, then a shell in the instance: nginx, docker ps, top, stats](usage.gif)
<sub>▶ [asciinema recording](usage.cast) (pause, fast forward)</sub>
<sub>▶ [asciinema recording](usage.cast)</sub>
### From the host, with `lxc exec` ### From the host, with `lxc exec`
+4 -2
View File
@@ -12,7 +12,8 @@ Ce tutoriel part de zéro : on récupère ce dépôt, on installe le profil
seule au premier démarrage, puis on s'en sert. seule au premier démarrage, puis on s'en sert.
![Clone du dépôt, installation du profil, lancement de l'instance et suivi de cloud-init](install.gif) ![Clone du dépôt, installation du profil, lancement de l'instance et suivi de cloud-init](install.gif)
<sub>▶ [Enregistrement asciinema](install.cast) (pause, avance rapide)</sub>
<sub>▶ [Enregistrement asciinema](install.cast)</sub>
## Ce qu'il vous faut ## Ce qu'il vous faut
@@ -167,7 +168,8 @@ LXD, et celle du bridge `docker0` que Docker vient de créer à l'intérieur.
## 4. Utiliser Docker ## 4. Utiliser Docker
![hello-world avec lxc exec, puis un shell dans l'instance : nginx, docker ps, top, stats](usage.gif) ![hello-world avec lxc exec, puis un shell dans l'instance : nginx, docker ps, top, stats](usage.gif)
<sub>▶ [Enregistrement asciinema](usage.cast) (pause, avance rapide)</sub>
<sub>▶ [Enregistrement asciinema](usage.cast)</sub>
### Depuis l'hôte, avec `lxc exec` ### Depuis l'hôte, avec `lxc exec`