if u r using native container in truenas for docker u can.
or u can do what stux did. install dockge using the truenas native. once done, he then uses dockge to deploy the rest of the docker containers.
there is no right wrong answer here. depends what you prefer. i just like dockge since it’s simple.