Skip to content
This repository was archived by the owner on Feb 17, 2026. It is now read-only.

Latest commit

 

History

History
29 lines (23 loc) · 1.29 KB

File metadata and controls

29 lines (23 loc) · 1.29 KB

Podman

As I’m slowly moving to ZFS root, let’s use it for containers too.

Create ZFS filesystems

For rootless podman setting acltype is crucial, otherwise many things will be broken.

You can find some more information in Possible to run rootless with storage on ZFS?, Rootfull, rootless containers on Btrfs and ZFS | folliehiyuki’s blog and Long-term Memory – Podman on ZFS.

sudo zfs create -o mountpoint=none rpool/containers
sudo zfs create -o acltype=posixacl -o xattr=on -o mountpoint=/home/kepi/.local/share/containers/storage rpool/containers/kepi
~/.local/share/chezmoi/dot_zshrc.tmpl

Config

[storage]
  driver = "overlay"

#[storage.options.overlay]
  #force_mask = "private"
  # mount_program = "{{ .chezmoi.homeDir }}/.guix-home/profile/bin/fuse-overlayfs"
  #mount_program = "/usr/bin/fuse-overlayfs"
  #mountopt = "nodev"