- docker-volume-data uses the default pool (present after any lxd init)
instead of btrfs, so that it installs everywhere; the volume must exist
before the profile is installed
- Going further: create the volume and schedule its snapshots, launch with
the profile, manual snapshot and restore
- Adapt an installed profile: copy the volume to another pool, change the
profile in LXD, see the difference with mise list/diff, then go back with
install or keep it with import; a copy of the profile for a second instance
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018inUJkPw1qcoCubeKqfffm
- 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
- 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
- list: legend with one status per line (symbol, meaning, count)
- list: description column sized to the terminal width (20 to 60
characters), 50 when the output is not a terminal
- welcome: drop the status emojis, now explained by the legend
- demo: tour re-recorded (taller window for the legend)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018inUJksoKAfKRWoSo1tvv6
- README in French (README.md) with an English version (README.en.md),
linked from each other
- Usage split between plain lxc (mise is optional) and mise, with the
prerequisites of each case
- New demo of plain lxc usage (demo/lxc.yaml), one subsection per demo
- list: 📝 instead of ⚠️ for profiles that differ, rendered in color
like the other status emojis
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018inUJksoKAfKRWoSo1tvv6
Scenarios in demo/*.yaml are played by autocast into asciinema
recordings (.cast, playable in Gitea) and rendered as GIFs by agg for the
README. The recording tools and fonts (Inconsolata Nerd Font, Noto Color
Emoji) live in a separate mise environment:
MISE_ENV=demo mise run demo <tour|install>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018inUJksoKAfKRWoSo1tvv6
Installs the latest backrest release, run as root by a systemd unit
listening on 0.0.0.0:9898, with its config in /etc/backrest/config.json
and its data in /var/lib/backrest. Backrest downloads and maintains the
restic version it requires (>= 0.19.1, Ubuntu ships 0.18.1) in
/var/lib/backrest/restic, symlinked to /usr/local/bin/restic for CLI use.
Meant for a backup instance mounting volume-*-ro profiles (POC).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018inUJksoKAfKRWoSo1tvv6
- volume-gitea-data / volume-nextcloud-data: data volume mounted in the
application instance (daily snapshots are configured on the volume)
- volume-gitea-data-ro / volume-nextcloud-data-ro: same volumes mounted
read-only under /backup for the backup instance (restic + backrest),
which must be unprivileged to share the volumes idmap
- app-gitea / app-nextcloud: only install the application, the volume
now comes from the volume-* profile
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018inUJksoKAfKRWoSo1tvv6
- Use lxc.cgroup2.devices.allow instead of the cgroup v1 key, ignored on
cgroup v2 hosts (Ubuntu >= 21.10)
- Remove raw.lxc (unconfined apparmor, all devices, no cap drop) from
docker, dokploy and coolify: privileged + nesting is enough, tested
with build, published ports, privileged containers, limits and restart
- Add docker-unprivileged profile (nesting + mknod/setxattr syscall
interception) for new containers
- Sync microk8s with the deployed version (device numbering)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018inUJksoKAfKRWoSo1tvv6
The file contents were inverted:
- btrfs.profile.yaml contained the zfs profile
- zfs.profile.yaml contained the btrfs profile
Fixed by swapping the filenames to match their content.
Fixes#8🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Replace ubuntu:22.04 with ubuntu:lts in test container creation example
to maintain consistency with other examples in the documentation.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
This profile allows containers to access the host LXD daemon via Unix socket,
enabling centralized LXD management from within containers.
Features:
- Proxy host LXD socket to container at same path
- Automatic LXD client installation via snap
- No additional configuration required
- Practical guide and example script included
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Rename all proxy profile files to follow the repository naming convention:
- proxy-docker-tcp.yaml -> proxy-docker-tcp.profile.yaml
- proxy-docker-unix.yaml -> proxy-docker-unix.profile.yaml
- proxy-http.yaml -> proxy-http.profile.yaml
- proxy-https.yaml -> proxy-https.profile.yaml
- proxy-taskwarrior.yaml -> proxy-taskwarrior.profile.yaml
This ensures consistency across all profile categories in the repository.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
The `setup-profiles.bash` script has been significantly enhanced to:
- Include a prerequisite check for `yq`.
- Extract the LXD profile name directly from the YAML file using `yq`.
The README.md has been updated to reflect the new usage of `setup-profiles.bash`,
which now accepts file paths as arguments for specific profile updates.
Co-authored-by: Gemini CLI <gemini-cli@google.com>
The `setup-profiles.bash` script has been enhanced to allow for selective updates of LXD profiles.
Users can now specify one or more profile names as arguments to update only those specific profiles.
If no arguments are provided, the script will default to updating all profiles found in the `profiles/` directory,
maintaining the previous behavior.
This change improves flexibility and control when managing LXD profiles.
Co-authored-by: Gemini CLI <gemini-cli@google.com>