diff options
| author | 2026-07-02 11:35:35 +0100 | |
|---|---|---|
| committer | 2026-07-02 11:35:35 +0100 | |
| commit | f0c626059451e1f8621600e610240739d5633560 (patch) | |
| tree | 4dc71f10a68b2c273ed2107f8af4a20c08894a2d /dot_config/containers/storage.conf.tmpl | |
| parent | 694cd2fc4680ccea939c9569f0a76cf1deaa5d2d (diff) | |
| download | dotfiles-f0c626059451e1f8621600e610240739d5633560.tar.gz dotfiles-f0c626059451e1f8621600e610240739d5633560.tar.bz2 dotfiles-f0c626059451e1f8621600e610240739d5633560.zip | |
Prune stale dotfiles commentary
Diffstat (limited to 'dot_config/containers/storage.conf.tmpl')
| -rw-r--r-- | dot_config/containers/storage.conf.tmpl | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/dot_config/containers/storage.conf.tmpl b/dot_config/containers/storage.conf.tmpl index 62dd35c..c304b02 100644 --- a/dot_config/containers/storage.conf.tmpl +++ b/dot_config/containers/storage.conf.tmpl @@ -1,31 +1,14 @@ {{- $machineRole := default "host" (index . "machineRole") -}} {{- if eq $machineRole "vm" -}} -# Rootless podman storage configuration. -# -# The VM uses ext4, so use the kernel overlay driver. runroot/graphroot default -# to $XDG_RUNTIME_DIR/containers and $XDG_DATA_HOME/containers/storage. +# Rootless podman storage configuration: VM ext4. [storage] driver = "overlay" [storage.options.overlay] -# Kernel >=5.13 supports rootless overlay natively on the VM, so leave -# mount_program unset and avoid fuse-overlayfs. {{- else -}} -# Rootless podman storage configuration. -# -# Uses the native kernel btrfs graph driver — much faster than fuse-overlayfs -# (especially `podman commit`) because layers are real btrfs subvolumes with -# CoW snapshots, no FUSE userspace round-trip. -# -# Switching driver requires a one-time `podman system reset --force`; the -# overlay/fuse-overlay on-disk layout is incompatible. See the migration -# helper at the dotfiles repo root (migrate-podman-to-btrfs.sh). -# -# graphroot/runroot left at defaults: -# graphroot = $XDG_DATA_HOME/containers/storage -# runroot = $XDG_RUNTIME_DIR/containers -# both are on btrfs in this setup (root fs is btrfs). +# Rootless podman storage configuration: host btrfs. +# Changing storage drivers requires `podman system reset --force`. [storage] driver = "btrfs" |
