I strongly support keeping TrueNAS lean and mean, using docker, lxc, kvm etc to add features that are not essential e.g. SMART → Scrutiny. Personally I would be happy pulling more out of TN into docker.
But sometimes you need a tool like ddrescue, HDDSuperClone, or whatever. Software that is not included with TrueNAS but ideally has as little between it and the hardware as possible.
Some people are using a Dataset in their main Data pool, as a location for local tools. This survives an update. It may be needed to re-enable execution on the dataset like;
zfs set exec=on MY_POOL/MY_BIN_DS
Now this does not solve all the potential software people want to install. Linux is very BAD at library versions. Some tools MUST have either a specific library version and without it, the tool won’t run. See the output of ldd against the binary.
One way around that specific library requirement, is to manually supply it. Like from a Linux desktop where the tool works. Then use something like this for the local tools datasets: