brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: give Docker containers a wait time in the Unraid autostart column

Docker
~/tips/tip-unraid-docker-autostart-wait

Advanced View > AutoStart > wait (seconds)

Delays the next container's start so a database or VPN is ready before the apps that need it.

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

More Docker tips ONBUILD RUN /usr/local/bin/python-build --dir /app/src SHELL ["/bin/bash", "-c"] docker commit <container> myname/testimage:version3 docker import /path/to/exampleimage.tgz docker compose events All Docker tips (192) All topics

Link