Unraid starts autostart containers as fast as it can. That is a problem when one of them needs a database that is not ready yet.
The Docker tab lets you set an order and a pause. The docs describe the steps: unlock the list with the padlock icon, drag containers into the order you want, then switch to Advanced View. In the AutoStart column there is a wait field, in seconds, for each container.
Docker tab > padlock icon > drag to reorder
Advanced View > AutoStart > wait (seconds)
The wait is the time Unraid sleeps after starting that container, before it moves on to the next. So the wait goes on the container that others depend on, such as a database, a VPN or a Tailscale helper, not on the dependants.
The docs say it plainly: use trial and error to find the wait times. There is no test button for the sequence. What they suggest is to stop all containers and start them by hand in your planned order, then watch the logs.
The caveat is that a wait is only a delay, with no check behind it. A slow disk or a big database can still take longer than the number you picked. Test the order again after you add or change something that depends on something else.
Further reading: Unraid docs: Managing and customizing containers, On this site: find what is filling your Unraid docker.img, On this site: use Previous Apps to bring back every container after deleting docker.img, On this site: Guide: put one Docker container on your tailnet with Unraid's built-in Tailscale option