docs: Docker tutorial: data volume with snapshots, adapting an installed profile
- 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
This commit is contained in:
1 parent
d33ee6d84f
commit
f278c14bcb
3 files changed
+259
-47
No files matched your search
@@ -1,8 +1,10 @@
|
||||
name: docker-volume-data
|
||||
description: "A profile that add a volume for docker data"
|
||||
# Le volume doit exister avant l'installation du profil (LXD le vérifie) :
|
||||
# lxc storage volume create default docker-data
|
||||
devices:
|
||||
docker-data:
|
||||
type: disk
|
||||
pool: btrfs
|
||||
pool: default
|
||||
source: docker-data
|
||||
path: /var/lib/docker
|
||||
Reference in new issue
Block a user