Docker Swarm Manager on Truenas Scale?

Hi everyone! I used to run docker swarm for a few services I run on my local network, but it was a PITA because I did not have a NAS at the time or any kind of network storage. Now I do and TrueNAS Scale is on it.

I am learning that 24.10 changed to docker as it’s backend for apps - and I understand how to connect it to an existing docker swarm - but how can I configure my truenas scale server as the docker swarm manager? Are there any guides or info for this - I have been finding that since this update is still newish, a lot of information i find online is outdated.

I could always make another node be the manager, but since TrueNAS will have the storage - it’s availability is already the most important, so in my mind it makes most sense to be the manager as well.

Any help is appreciated!

How do you add it to a Swarm in the first place?

Is there any somewhat official way to do this?