Before now, when installing Docker in an Incus instance with zfs storage, it is near unusable out of the box and you would need to work around it or switch entirely to another storage driver.
I noticed today while using Incus that Docker now works fine with zfs out of the box. The storage driver section of docker info
shows the following.
Storage Driver: overlay2
Backing Filesystem: zfs
Supports d_type: true
Using metacopy: false
Native Overlay Diff: true
userxattr: true
I have tried searching online to confirm if that is indeed the case but haven’t found anything substantial. However, I noticed that zfs is now a supported storage driver for Docker ZFS storage driver | Docker Docs.
Can anybody else confirm if that is indeed the case?
Update: I came across this as well Update [2025] on Docker inside LXD container with ZFS storage with GPU passthrough - LXD - Ubuntu Community Hub.