I’m using Debian 12, ZFS 2.1.1 and am trying to use podman inside of a incus container, and I get stuck with the following error message:
root@podmantest:~# podman run hello-world
ERRO[0000] [graphdriver] prior storage driver overlay failed: 'overlay' is not supported over zfs, a mount_program is required: backing file system is unsupported for this graph driver
Error: 'overlay' is not supported over zfs, a mount_program is required: backing file system is unsupported for this graph driver
(I have set security.nesting set to true)
If I try to create a zfsvol
root@initial:/etc/apt# incus storage volume create default podman zfs.block_mode=true size=5GiB
Storage volume podman created
root@initial:/etc/apt# incus config device add podmantest docker disk pool=default source=podman path=/var/lib/docker
Device docker added to podmantest
Does podman have an equivalent to the vfs driver in Docker?
I believe that in the same situation Docker would have fallback to vfs instead of overlay2.
I experienced this before, I can’t check right now how I solved it. Try installing containers-storage, it’s suggested by Podman 4.3.1 on Debian 12. It includes the config in /usr/share/containers/storage.conf.