docs: Docker tutorial with recorded demos (demo/docker)

- demo/docker/README.md (fr) and README.en.md: step-by-step tutorial, from
  the clone of the repository to Docker used in an unprivileged LXD instance
- install and usage scenarios recorded with autocast, with their own hidden
  preamble (demo/docker/setup.sh) creating and removing what they need
- demo/castfix.py: puts back the shell prompt autocast drops and squeezes the
  cloud-init progress dots
- Tutorials section in the main READMEs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018inUJkPw1qcoCubeKqfffm
This commit is contained in:
xavierandClaude Opus 5.5 committed 2026-11-21 18:39:35 +01:00
1 parent 1333664688
commit 372bf5d84b
15 files changed
+2494 -2

No files matched your search

+3 -2
View File
@@ -10,14 +10,15 @@
"http:noto-color-emoji" = { version = "2026-09-24", url = "https://github.com/googlefonts/noto-emoji/raw/v2026-09-24-unicode18_0/2D/fonts/NotoColorEmoji.ttf" }
[tasks.demo]
description = "Enregistre une démo (demo/<nom>.cast avec autocast, puis demo/<nom>.gif avec agg)"
description = "Enregistre une démo (demo/<nom>.cast avec autocast, retouché par demo/castfix.py, puis demo/<nom>.gif avec agg)"
usage = '''
arg "<name>" help="Scénario (demo/<name>.yaml)" {
choices "tour" "install" "lxc"
choices "tour" "install" "lxc" "docker/install" "docker/usage"
}
'''
run = '''
autocast --overwrite "demo/${usage_name}.yaml" "demo/${usage_name}.cast"
python3 -I demo/castfix.py "demo/${usage_name}.cast"
agg --quiet --theme monokai \
--font-dir "$(mise where github:ryanoasis/nerd-fonts)" \
--font-dir "$(mise where http:noto-color-emoji)" \