- 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
11 lines
317 B
YAML
11 lines
317 B
YAML
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: default
|
|
source: docker-data
|
|
path: /var/lib/docker
|