Note: this is for installing ZFS on an existing Alpine installation. To use ZFS as root file system, see below.
Install ZFS package:
apk add zfs zfs-lts
Load kernel module:
modprobe zfs