ZFS Unraid Docker (legacy dataset display) - exclusion filter help

Using ZFS to store my docker containers in Unraid.

I’m trying to hide all the ‘legacy’ datasets docker creates in the ZFS filesystem.

Main → ZFS Master → Normal mount points + lots of zfs mount points created by docker.

Settings → ZFS Master has a line labeled “Datasets Exlussion Patterns (Just One!);”
yes it is spelled that way.

My understanding is setting a pattern here will hide matching datasets from Main-> ZFS Master.

Here are some example datasets:

zfs-sas/docker/00ad8fb7c11513817d85c3948219b49b1266c627b0759bda2cad3d64d31d993f

zfs-sas/docker/01027d727bea33c6d52532ad62999e026047de0c0234917a9c2b0367bb0670ca|

Here is my pattern: ^zfs-sas/docker/.*

When I test this on regex and lua test sites it matches fine,
but it doesn’t seem to work for hiding all these docker datasets.

Am I misunderstanding how this works?
Or just doing something wrong with my pattern?

  • Thanks for any help!

In case someone comes across this in the future, I got it working finally.

The filter to use to hide docker datasets:

In Settings-> ZFS Master->
Datasets Exclussion Patterns (Just One!): ^zfs%-sas/docker/.*

This will hide all the ‘legacy’ datasets created/used by docker.