I spent the weekend setting TrueNas Scale excited for the opportunity for native docker support and hardware passthrough, only to find the ability to use docker extremely limited. This post below, which is not authored by me, sum up the issues pretty well.
https://www.truenas.com/community/threads/container-virtualization-and-the-scale-rc-1-reality.97137/