TrueNAS Scale - Don't start docker until dataset unlocked?

I’m using a password encrypted apps dataset. When I unlock it, after restart, some docker containers need to be restarted manually. Because this is pretty annoying, and may get more annoying as I get more containers, is there a way to tell truenas not to start the docker service until the apps dataset has been unlocked?

The latter is the default behavior for the minio container I have, and it stores the data on an encrypted dataset.

I am still using Dragonfish, i.e. it is different from the latest versions regarding Docker.

Ok i think I figured it out. I have two pools and docker uses mounts from both pools. I need to make sure I unlock the media pool first and then the apps pool.