docs: Docker tutorial review: ubuntu:lts, long options, links to the casts

- ubuntu:lts instead of ubuntu:24.04 (26.04 today)
- cloud-init status --wait --long gives the summary, no need to read the log
- long options everywhere in the tutorial and its demos
- a discreet link to the asciinema recording under each GIF (pause, fast
  forward in Gitea's player), in the main README too
- castfix.py only restores the prompt after autocast's own !Clear

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 19:49:56 +01:00
1 parent 372bf5d84b
commit be68264e5c
12 files changed
+1689 -1717

No files matched your search

+4 -5
View File
@@ -30,19 +30,18 @@ instructions:
- !Clear
- !Marker Profile
- !Command {command: "# Docker profiles available in the repository, not installed in LXD yet"}
- !Command {command: "mise run list | grep -E 'PROFIL|docker'"}
- !Command {command: "mise run list | grep --extended-regexp 'PROFIL|docker'"}
- !Wait 3s
- !Command {command: "mise run show docker-unprivileged"}
- !Wait 4s
- !Command {command: "mise run install docker-unprivileged"}
- !Command {command: "mise run list | grep -E 'PROFIL|docker-unprivileged'"}
- !Command {command: "mise run list | grep --extended-regexp 'PROFIL|docker-unprivileged'"}
- !Wait 3s
- !Clear
- !Marker Launch
- !Command {command: "# Launch an instance with the profile: cloud-init installs Docker at first boot"}
- !Command {command: "lxc launch ubuntu:24.04 docker -p default -p docker-unprivileged"}
- !Command {command: "lxc exec docker -- cloud-init status --wait"}
- !Command {command: "lxc exec docker -- tail -n 1 /var/log/cloud-init-output.log"}
- !Command {command: "lxc launch ubuntu:lts docker --profile default --profile docker-unprivileged"}
- !Command {command: "lxc exec docker -- cloud-init status --wait --long"}
- !Wait 2s
- !Command {command: "lxc exec docker -- docker version --format 'Docker {{.Server.Version}}'"}
- !Command {command: "lxc list docker"}