TrueNAS Scale’s Docker implementation is currently really mediocre - it’s implemented as an app store style experience - and deploying/managing containers via the CLI isn’t officially supported although it works fine. They do have a more generic container management implementation in beta at the moment.
I strongly recommend TrueNAS Scale. It’s built on Debian, and has full docker implementation.
TrueNAS Scale’s Docker implementation is currently really mediocre - it’s implemented as an app store style experience - and deploying/managing containers via the CLI isn’t officially supported although it works fine. They do have a more generic container management implementation in beta at the moment.